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
  • Can WPF Controls used in windows application

    csharp wpf question
    4
    0 Votes
    4 Posts
    0 Views
    M
    Did you follow the link Eddy supplied "Walkthrough: Hosting a Windows Presentation Foundation Control in Windows Forms" seems to cover it.
  • MouseClick Event that only works once! Why?

    question help game-dev
    2
    0 Votes
    2 Posts
    0 Views
    L
    Why have you reposted this question with the same incorrect code? A number of people have explained what is wrong with this code and what needs to be changed. Please try what you have been advised to do rather than merely asking the original question in a different forum.
  • NetAdvantage and Infragistics tools [modified]

    c++ help csharp database tools
    2
    0 Votes
    2 Posts
    0 Views
    A
    Have you tried the vendors websites? I bet they know Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP
  • Windows Forms, data, filter

    csharp html database winforms com
    4
    0 Votes
    4 Posts
    0 Views
    L
    Ajay Fresher wrote: Still, How can i have similar combobox approach with Datagrid? i.e. 1st column will have all distinct product types. When i select this, dia should be only corresponding to type etc etc. That's possible, with an unbound DataGridViewComboBoxColumn. I are Troll :)
  • RichTextBox Scroll Problem

    help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Getting Change Event of All controls on a WinForm

    css
    2
    0 Votes
    2 Posts
    0 Views
    L
    softdev_sup wrote: is their any way to cater this change event of any control , without getting change event of each control Not that I know of. Mostly I walk the form (foreach c in controls), and hookup small delegate that sets an "IsDirty" property. I are Troll :)
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Image Effects in Windows Application

    help question
    2
    0 Votes
    2 Posts
    0 Views
    F
    override the onpaint method of the picturebox and program the effect by your self check drawing images with GDI or GDI++
  • Show Loading Image

    csharp database dotnet visual-studio
    3
    0 Votes
    3 Posts
    0 Views
    S
    Thanks , I will check that ...
  • How to tell "cut" from "copy" upon pasting

    question data-structures help tutorial
    7
    0 Votes
    7 Posts
    0 Views
    L
    Thanks, :) Luc Pattyn Local announcement (Antwerp region): Lange Wapper? Neen!
  • FillByCountry From MSSQL

    csharp sql-server
    2
    0 Votes
    2 Posts
    0 Views
    L
    West1989 wrote: //I am trying to find this parameter like this foreach (DataRows item in storeHouseDataSet.Countries.Rows) { int b = (int)item["ID"]; } } but it is not what I want 1. What is it that you do want? 2. Assuming you want 'b' to have some usable value, then you need to define b in the outer scope, and also break out of the loop when you hit the right value. Perhaps you could clarify your question?
  • Images Changing On Timer Tick

    csharp help
    6
    0 Votes
    6 Posts
    0 Views
    S
    Ya Thanks
  • textBox focus on form Closing

    regex help question
    2
    0 Votes
    2 Posts
    3 Views
    L
    if you want to force the user to correct any problem, then your validation code should: - tell your user what is wrong - tell your user he should fix it - disable everything that looks like it is accepting the data as is, including OK, Save and Close buttons - keep a Cancel button enabled, so the user can still abandon everything :) Luc Pattyn Local announcement (Antwerp region): Lange Wapper? Neen!
  • DataGridView ScrollBars [solved]

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Weird blue dots around the OvalShape

    question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Saving image to sql server using vb.net

    help csharp database sql-server
    4
    0 Votes
    4 Posts
    0 Views
    N
    still could not figure it out is this impossible :((
  • How to set cell value of datagridview on cell double click?

    tutorial question
    4
    0 Votes
    4 Posts
    0 Views
    H
    then clearly the problem is that the column in the DataTable is readonly, so presumably it is in the underlying database. Trying to change the ReadOnly property in your DataGridView cannot possibly alter this. You have to investigate, and find out why the underlying data is readonly. DataColumn has a ReadOnly property and maybe this is being set to true somewhere else in your code. There are loads and loads of possible reasons, but from the error message, it clearly is not the DataGridView that is causing the problem. Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”
  • Issue in elementhost

    question csharp wpf help
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Flickering Problem [modified]

    wpf graphics help question
    3
    0 Votes
    3 Posts
    0 Views
    A
    because drawing in memory’s speed is much slower than showing to screen. lead to Delay. iam so glad to see you override the 'OnPaintBackgound ', 1) but i think you should can set 'form's double buffer property' to 'true', 2) or use a 'bitmap' to simulate 'double buffer'. April Comm100 - Leading Live Chat Software Provider