Search results for query: *

  • Users: aw48
  • Order by date
  1. aw48

    Question Unable to cast object of type 'System.Windows.Forms.ListView' to type 'FileTool.IListView'

    hi, hope everyone's well despite that worldwide turmiol I'm using VSE 10, c#, WinForms in my project I have interface IListView class MyListViewBase : ListView, IListView class MyListViewOne : MyListViewBase class MyListViewTwo : MyListViewBase IListView MyListView = new MyListViewOne(); I...
  2. aw48

    Answered Drag an Drop on single/multiple selection

    thanks for all your effort, definitely deserves applause
  3. aw48

    Answered Drag an Drop on single/multiple selection

    hi, I'm using VS10 c#, Framework 4.0 I want to move Data from ListView to ListBox, but type of control doesn't matter Can somebody explain how to use the corresponding events to move selected data from one control to another like moving data in windowsexplorer from one Folder to another. for the...
  4. aw48

    Question editing custom page

    The layout rendering application is not new. Originally it was meant just to create a pagelayout and print it. First addition I made was drawing some autotext so that one can number the lines. Then came the idea to make it editable and thus I can use it for every form that is scanned, like a...
  5. aw48

    Question editing custom page

    thanks for answering and sorry for the delay. I had to make some minor changes on the layout-rendering part of the application. attached is a small 10 row, 3 column page layout. remember these are only lines and what I want is to edit the fields as if it was a gridview. I'm not asking for...
  6. aw48

    Question editing custom page

    hi, for sure what I'll describe is not what I stated in the title but lacked any idea I've created a small application that creates a page or form solely graphical. At the moment I only create tables, defining number of rows and number of columns drawn as a bitmap. Now I want to edit the...
  7. aw48

    Question how update picturebox graphics of mdichildform

    hi, @Skydiver : thanks for the hint I said I had tried the childforms move event but what I didn't was this.Parent.Validate(true); now it works fine thanks to all of you
  8. aw48

    Question how update picturebox graphics of mdichildform

    hi, thank you guys for your contribution the only relevant code I can offer is // *********************************************************************** private void Canvas_Paint(object sender, PaintEventArgs e) //...
  9. aw48

    Question how update picturebox graphics of mdichildform

    hi, I'm developing a small picture editing application in VS10 c# using mdi. Loading an image from file or creating a new image will always open a new childform. The childform has menustrip, picturebox,scrollbars (to scroll the picturebox image) and statusstrip the issue I get is as long as I...
  10. aw48

    Question C-code to C#

    hi, thanks for your reply of course I know array length and I would say that's sizeof(x) but why divide by sizeof(*x)
  11. aw48

    Question C-code to C#

    hi, I'm trying to port a small C-programm to C# the only knowledge of C I got writing a programm that created C/C++ code from pascal-code a long long time ago Last summer that old machine which allowed me to run those old borland programms died away so I can't debug some old C-code anymore...
  12. aw48

    Question Call inhereting class method from baseclass

    thanks to all of you for answering my very incomplete question. I didn't make it clear that the Apps are just classes, not forms or derived from form. Actually each class represents an item of the tabcontrol. the tabs controls are passed to the app or are created within the app itself. sorry...
  13. aw48

    Question Call inhereting class method from baseclass

    hi I have : interface IApp, AppBase, App1, App2........Appn with public void Appn() : AppBase,IApp { } is it possible to have Button.MouseUp += new System.Windows.Forms.MouseEventHandler(button_MouseUp); in AppBase and button_MouseUp() in Appn ? the corresponding program started out...
  14. aw48

    Resolved no drag & drop from treeview to listview

    I actually never tried to drag onto the listview. that no drop cursor made me believe something's not working correctly. and everything's okay. btw I don't need to distinguish between mousebuttons because I just want the treeview item's path in the listview 'That means that while the mouse is in...
  15. aw48

    Resolved no drag & drop from treeview to listview

    // ************************************************************************************ private void tvwMain_ItemDrag(object sender, ItemDragEventArgs e) // ************************************************************************************ { TreeNode...
  16. aw48

    Resolved no drag & drop from treeview to listview

    i did drag and drop before and I don' t see what code should be missing. from treeview I only need ItemDrag and with the listview I need DragEnter and DragDrop. but it's the treeview that doesn't allow any dragging
  17. aw48

    Resolved no drag & drop from treeview to listview

    hi, I have a problem with draging a treeview item (itemtext to be exact) to a listview where the path should be display the treeview is a component of a usercontrol classlibrary. I use treeview_itemdrag to call DoDragDrop(). As soon as I move the mouse, the notallowed/notvalid - symbol is...
  18. aw48

    Question marking substring of combox.text

    hi, @jmcilhinney sorry, you got me wrong. the code you provided made me decide to write a custom combobox one whose edit field will behave like a textbox but at the moment using an additional textbox is ok with me though it looks rather unprofessional
  19. aw48

    Question marking substring of combox.text

    hi thanks a lot there's absolutely no way to select a portion of the text displayed I'm writing on a custom combobox that will behave like a textbox but I guess it's a bit tricky at the moment I have a textbox of the comboboxes width below the combobox to show the seleted item and I can do the...
  20. aw48

    Question marking substring of combox.text

    I do have DropDown and I can set the cursor, but will change its position on moving the mouse the combobox items are urls
Back
Top Bottom