Skip to content

Windows Forms

Desktop and Windows Forms development

This category can be followed from the open social web via the handle windows-forms@forum.codeproject.com

2.1k Topics 7.1k Posts
  • Dcom

    tutorial database sysadmin
    3
    0 Votes
    3 Posts
    2 Views
    T
    hi thanks very much for ur help, but there is a very difficult to me to do that, so in a sample question: can u send me the conception of a client that wanna to connect to an sql database threw a server (it is an application in the server that permit the connection to the database) plz tell me what kind off application should i use in the server, what this application should return to the client application (is it an xml file). again thanks very much,regards. bye etretyertyery
  • services

    csharp
    3
    0 Votes
    3 Posts
    3 Views
    T
    hello plz sybrata.jana can u read the dcom question and answer me . there are a complementary questions bye regards etretyertyery
  • How to implement right-click event in controls

    tutorial lounge
    2
    0 Votes
    2 Posts
    2 Views
    B
    you can check which mouse button did the user click in the mouseDown event of the ListBox, if its right mouse button, remove the selected items in the list. Blumen
  • Updating a textbox

    question
    2
    0 Votes
    2 Posts
    4 Views
    A
    Can you please explore on DoEvents() Functionality? Regards, Arun Kumar.A
  • Problem of Validated Event in windows form

    help
    2
    0 Votes
    2 Posts
    2 Views
    T
    Set CauseValidation property of the "Close" Button to False Tirtha Miles to go before I sleep
  • calling other forms

    help c++ question
    2
    0 Votes
    2 Posts
    2 Views
    B
    Hi, If you are referring to Windows Forms, you have to create an object of the form before calling it. Example: Create an object of Form1 in Form2 and call objForm1.Show(); But you will get a new instance of that form. If you want to go back and forth like in a web browser, you got to use usercontrols. Just use one form, and load the other forms inside this form. For this you need to have a master form and make usercontrols for other forms. There is a UserControl Class available in .NET controls, you can find it when you try to add a new component from with in a Project. Regards, Blumen
  • Migrating MFC to Windows Forms

    c++ winforms help
    2
    0 Votes
    2 Posts
    2 Views
    P
    earlgraham wrote: new application will need to be written in C++ How come?
  • Simulate key strokes to trigger shortcut

    database question
    2
    0 Votes
    2 Posts
    2 Views
    K
    I am not sure it is a great idea, but you can do keystrokes with the SendKeys. I think a better solution would be when you want to call the same method if you can see the event that is getting called I would try to call it. Or if there is a button that can be clicked you can always do button.PerformClick() Hope that helps. Ben
  • dataGridView Binding

    css wpf wcf
    2
    0 Votes
    2 Posts
    3 Views
    G
    Hi 1) Fetch your data to datatable 2) Bind data table to the datagrid. 3) then, you can use your previous code. Now it works fine. Thanks. Gopal.S
  • About Windows Forms C# .net 2003

    csharp winforms help
    4
    0 Votes
    4 Posts
    4 Views
    B
    Hi, You can add checkbox to a DataGrid. Please refer this article: http://www.codeproject.com/aspnet/datagridcheckbox.asp Blumen
  • Hierarchy & Transparent Controls

    help java com game-dev json
    5
    0 Votes
    5 Posts
    2 Views
    D
    Since Windows Forms is based on GDI+, no, there isn't. Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic      2006, 2007
  • Datagrid & Panel

    help
    2
    0 Votes
    2 Posts
    3 Views
    R
    I've never had a need to write code like that but you can probably do it this way: Set your panel's AllowDrop property to True Trap the OnDrop event for the panel and inside the handler check the SelectedRows property of the datagrid. You would then use that property to display the data any way you chose. Again, I don't know if that example alone will do it bit it will be very close. You might even do a google search on DragDrop operations.
  • Parent and child forms

    3
    0 Votes
    3 Posts
    2 Views
    S
    CompMan44 wrote: I would take this to mean that AutoScroll only applies to controls owned by the form, not MDI children. I think you are right, thanks CompMan44:)
  • showing a form twice

    help question
    4
    0 Votes
    4 Posts
    4 Views
    C
    I've had a similar problem. My solution was to catch the FormClosing event, and when e.CloseReason == CloseReason.UserClosing, set e.Cancel to true and Hide the form. A little learning is a dangerous thing; Drink deep, or taste not, the Pierian Spring. —Alexander Pope
  • Xml read in C++

    question c++ xml
    3
    0 Votes
    3 Posts
    2 Views
    S
    Samle code from MSDN XmlDocument doc = new XmlDocument(); //Load the the document with the last book node. XmlTextReader reader = new XmlTextReader("books.xml"); reader.WhitespaceHandling = WhitespaceHandling.None; reader.MoveToContent(); reader.Read(); reader.Skip(); //Skip the first book. reader.Skip(); //Skip the second book. doc.Load(reader); doc.Save(Console.Out); Cheers, Suresh
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • How to Display a dialog box for a property?

    help tutorial question
    2
    0 Votes
    2 Posts
    2 Views
    K
    See this: Creating Custom Controls-Providing Design Time Support 1
  • Taskbar icon problem with FormBorderStyle.None

    csharp help question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Help textbox

    help
    7
    0 Votes
    7 Posts
    5 Views
    A
    :) It's working to save it only like text. Thanks a lot.
  • 0 Votes
    6 Posts
    5 Views
    N
    You should also look at Syncfusion component suite:)