Search results for query: *

  • Users: aw48
  • Content: Threads
  • 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

    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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. aw48

    Question marking substring of combox.text

    hi, is it possible to select a substring of a selected combobox-item by clicking it with the mouse and selecting a specific amount of characters. As I see clicking the text does not the cursor at the corresponding place. Any suggestions or is there a different approach thanks in advance
  9. aw48

    why do I need this reference ?

    hi, can someone explain the following problem : I have dll1 with class1. dll1 references dll2 with class2. class2 has a property "public bool IsFolder" class1 has a property "public List<class2> Items" In a form I reference dll1 and have an object "class1 obj" So now when I say "if...
  10. aw48

    Question no paint-event ?!

    hi, using show/hide of frmBitmap to display a bitmap which is imported by form1 frmBitmap only displays an empty window and I found that frmBitmap's paint event is never thrown. That's why I'm using VisibleChanged event. frmBitmap.Show(this) is called from form1's paint-event. public...
  11. aw48

    Drag and drop from listview to listbox more than one line at a time

    hi, from listview I want to move a number of lines to a listbox here' s the listview's mouse_down : private void lvLib_MouseDown(object sender, MouseEventArgs e) { ListView lv = (ListView)sender; ListViewHitTestInfo info = lv.HitTest(e.X, e.Y)...
  12. aw48

    TableAdapter.Update() : One down, how many to go ?

    hi again, here is my code : int n = dsCfg.tblCfg.Columns.Count; Object[] ao = new object[n]; ao[0] = "SETTINGS"; ao[1] = 0; ao[2] = some value dsCfg.tblCfg.LoadDataRow(ao,false); taCfg.Update(dsCfg.tblCfg); -> throws exception ...
  13. aw48

    TableAdapter.Update doesn't work

    hi, i'm new to this board and inurgent need of a solution to my c#-application problem. i'm using visual c# 2008 xpress, sql srver 2005 xpress that's what i do : the dataset is ItemDataDS SA.ItemDataDSTableAdapters.tblItemDataTableAdapter taItemData; ItemDataDS ds =...
Back
Top Bottom