Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms > march 2007 > threads for march 29 - 31, 2007

Filter by week: 1 2 3 4 5

How to get arrow keys?
Posted by Richard Lewis Haggard at 3/31/2007 9:38:16 PM
I have a user control for which I'm trying to intercept arrow keys. I've subscribed to both the KeyDown and KeyPress events. Normal keys are delivered through the KeyPress event handler but arrow keys are not delivered here. They do arrive at the KeyDown event but only if the control key is ...more >>


Form inside a panel
Posted by Tiago M. at 3/30/2007 2:10:24 PM
Hi! I have a form inside a panel using: public void CreateNewFormInsidePanel(){ Form form1 = new Form(); form1.TopLevel = false; panel.Controls.Add(form1); form1.Show(); form1.BringToFront(); } Everything goes according plan when I'm creating a new form after a button click event bu...more >>

CheckBoxes based on contents of a db table.
Posted by Mufasa at 3/30/2007 1:33:49 PM
I have a program that will allow a user to select/deselect values for a record. On that record there are multiple check boxes which are defined in the database. What's the easiest way to get the list of checkboxes and display them on the screen. Here's an example: They want to edit a rec...more >>

Shared UI resources
Posted by Andy at 3/30/2007 11:32:10 AM
Hi all, I'd like to create resources in an assembly, which other assemblies may use to get resources from. Whats the best way to do this? Ideally, something like ResourceAssembly.Properties.Resources.OKIcon Thanks Andy ...more >>

Search Treeview
Posted by Tom at 3/30/2007 11:14:04 AM
Ok, I have a simple question but I don't think there is a simple answer. I want to: -search a Treeview node.text property for a value input by the user in a textbox -starting at the selectednode -search all levels -if the end of the tree is reached (and not found), start at the beginning ...more >>

PrintPreviewControl navigate pages problem.
Posted by Chris Dunaway at 3/30/2007 7:11:16 AM
I am using the PrintPreviewControl on a custom form to display a report. The report is multiple pages. I have a NumericUpDown control on the form to navigate the pages of the report. In the ValueChanged event of the UpDown control I change the StartPage property like this: private v...more >>

Security Exception - Deploying Windows .NET Application
Posted by None at 3/30/2007 5:56:49 AM
I am getting security exception when I try to access any network folder or database or when I am trying to create a file on the network share using my .NET Windows application. I know I can make it to work from my machine making the code FULLTRUST. What I need to know is how I would be able to...more >>

How to keep designer from setting property values?
Posted by barker7 NO[at]SPAM yahoo.com at 3/29/2007 6:14:19 PM
I have a user control that has a few public properties. These properties get set in the app at run time with arrays of data, but at design time the designer insists on setting these values. For one property it even tryies to create an entry in the resource file, which cause a build error in the ...more >>



Activiting a tab in TabControl programatically...
Posted by Charlie NO[at]SPAM CBFC at 3/29/2007 3:21:54 PM
Hi: How do you programmatically activate a tab in Tabcontrol so that it appears on top? Thanks, Charlie ...more >>

Data Binding and User Controls
Posted by ncarnal NO[at]SPAM gmail.com at 3/29/2007 10:51:23 AM
I am binding to a UserControl: MyControl.DataBindings.Add("MyProperty",bindingsource,"PropertyOfBindingSource") Within my UserControl, I have setup INotifyPropertyChanged and I raise the event PropertyChanged to tell the binding source I have made a change to MyProperty. But no update is ta...more >>

What is the best approach to keep opened window form info?
Posted by Andrew at 3/29/2007 9:22:06 AM
Hello, friends, In Windows Form applicaitons, it is often that a form window may need to interact with other form windows. For example, clicking on a command button in one form may bring another form to foreground and display text/image accordingly. Do we normally keep global refrences some...more >>

WebUserControl & Form
Posted by Ibrahim. at 3/29/2007 1:54:00 AM
Hi, I have a WebuserControl in a Windows form, I displayed some HTML in it. Now, how do I pass value from WebUserControl to it's parent form. Suppose I have a Link in the HTML with the ID and on Click event of the Link I want to pass the ID to the Parent Control (form) to some processing. ...more >>


DevelopmentNow Blog