Software Development Network Logo
  • Visual J#
  • Windows Vista
  • SQL Server
  • Architecture
  • Visual C++
  • Windows Live
  • VS Team System
  • Game Technologies
  • Smart Device
  • Visual FoxPro
  • Visual Basic
  • Visual C#
  • .NET Development
  • Visual Studio
  • Windows Forms

Software Development Network >> Windows Forms

Windows Forms

New Question

Formatting Text Boxes with Multiple Tables in Relations
Mdi Parent closing children
What's wrong with my FolderBrowserDialog?
Custom Form with a Panel to act as a Container
How should I resize the datagrid
Window drag from client area
NT User
Windows Forms Design strategy
shutting down the computer
New control

Top Answerers

Duie
pdhot
coder#
jt230050
Heston T. Holtmann
BurgleyWurgley
Zee83
the.cypher
ryanchopps
JHorn
Guardian Unlimited Business
Only Title

Answer Questions

  • nick-ow-lo-d-eon Rebind several Controls in same Form. What i'm i doing wrong?

    I all, I'm developing an intranet solution in VS 1.1,  C# and SQL2000. I was thinking instead of multiple forms, use one Form, have an Panel, and bind rebind several UserControls instances. So in my MainForm i've an Property like this: >code> private Pa ...Show All

  • hopefulcoder detecting idle desktop in c#

    i would like my application to detect when the screensaver fires due to inactivity. this way, i can set my application status to 'idle'. in any case, how can i intercept this desktop state thanks in advance Probably you may want to attach an event handler to Application.Idle event. I haven't tried this event yet, but according to documentation, this event occur before the current application thread is about to become idle. ...Show All

  • Ian.H Winform Gridview Databind to WS example?

    I am having trouble binding a datagridbview in vs2005 (vb.net). I create an object datasource but it does not render any datasets when browing the datasource. Thank you in advance for any help! When binding the DataGridView using a Da ...Show All

  • Fixme How to prevent 2nd Instance of EXE

    There is a desktop application developed using .NET v1.1. This application is invoking a new instance every time the .EXE file is double clicked. Can some one throw some light on preventing this behaviour. When invoked for the second time, just show the first instance. Any suggesstions towards this is a great help. Hey, This is a good mechanism, but Scott Allen has more to say on this way of handling. Allen at this posting , exp ...Show All

  • ScruffyDuck How to assign controls EventHandle to other control item?

    Describe my problem: ToolStrip contain buttons and menus. User can drag and drop copy of any control from ToolStrip to form panel (Like windows tool panel). Problem: how do I can assign EventHandler for onClick event of duplicated control (button or menuItem). part of code: private void InitializeComponent() { ... this.b1 = new System.Windows.Forms.ToolStripButton(); this.b1.Text = " 1"; this.b1.MouseMove += new System.Windo ...Show All

  • Drir Sinan Extender Control

    How do I set a property on an extender such that it is available to the extended control at runtime in code. For example if there is a property IsValid. I want to access it such as TextBox1.IsValid --Rythm I was afraid that wold& ...Show All

  • Robert Shurbet DataGridView - Invisible Cell Error

    Hi, I have a potential problem with the datagridview. When I have an empty table, and start editing the first row, but press ESC to cancel the edit, I get an error "Current cell cannot be set to an invisible cell.". Is this a known problem, or is there a way to trap the error, and move the current cell to a cell that is not invisible Dear Mark, we also have this problem though the first cell is not invi ...Show All

  • Ruben Cer. Adding first item to combobox's datasource messes up display member

    Hi everyone I'm having a bit of trouble with a databound combobox, its datasource is a custom collection inherited from collectionbase.  Up until now I have had some items in the collection so when I set up the datasource and display and value members,&n ...Show All

  • Vijaye Raji Control deleted while trying to clear property value

    Hi All, I found this forum is very helpful. Benjamin Wulfe just helped me solve my big problem. I'm posting another one. In my form designer project, I use IMenuCommandService.GlobalInvoke(StandardCommands.Delete) to delete selected controls in design time. However, the problem is that when I select the value in the property grid, and try to clear the property value using the delete key, this not only deletes the proper ...Show All

  • duongandy Dynamically adding CONTROLS in VC++

    Basically I'm creating an app where the entire thing is controlled by scripts. I want to be able to create a FORM on-the-fly, with controls added via scripting . how to do it Try to observe how Visual Studio designer generate codes when you design your form, this is exactly the same way you can generate a form and child controls on run-time. 1. Create an instance of an empty Form. 2. Set the properties for the Form. 3. Create an instance ...Show All

  • marcjan Using SplitContainer in MDI parent

    I have an MDI parent winform.  I instanate my MDI children when user press a button. I would like to use the new .NET 2.0 SplitContainer to divide screen area.  However, after adding the SplitContainer, my MDI children always stay behide the SplitContainer, how can I solve this problem Actually, a normal panel control will cause the same problem in MDI form. Thanks.   Kennon2005 wrote: Hi, Mike Berro, if the MD ...Show All

  • Keith K Ctrl + Enter with a MenuStrip

    Hi, I was following a tutorial to try to make my own browser interface. I tried to implement the Ctrl+Enter in a Textbox to make like Internet Explorer to complete the address, eg.  google => http:// www.google.com  . The problem is that I cannot take the Ctrl+Enter keys event while I enable my MenuStrip (eg. File, Options, Help,....) as it makes the focus on the MenuStrip! When I "un-enable" or delete my MenuStrip, it works well. W ...Show All

  • Naveen Kohli TextbBox size in GridView Edit mode

    I have a GridView with a field that contains long strings of text. I would like to make the grid directly editable, rather than using a details view. I finally figured out how to make the TextBox in the Edit view bigger, but I cannot find option to to make the text in it wrap or for adding scroll bars. Is there a way to accomplish what I'm trying to do, either with control properties or through manual coding Thanks in advance for your advice. St ...Show All

  • winlonghorn Combo boxes and Databinding

    On a form, I have 3 comboboxes.  Because of the nature of the application, they each hold the same information (Vascular Access Sites).    the problem I am having is that when one selection is made, the selected items on the other two ...Show All

  • sliderhouserules Open a file using default application

    Hello, Back in VB6, I used the ShellExecute api to open a file using it's default application. In other words, .XLS files would open in Excel, .DOC files would open in Word, etc. The call looked like this: Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _ (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, By ...Show All

101112131415161718192021222324252627

©2008 Software Development Network

powered by phorum