Answer Questions
abdou Numeric or currency style to a label
I need to have few Labels (that are bound to business objects) appear as $1,000,000 rather then 1000000 I can’t find a style property to apply at design time. Any Ideas Look at the (DataBindings)->(Advanced) field in the Properties window. You can use custom format. For example, $#,# . But remember that you'll not see commas unless the Digit grouping symbol is set to comma. You can check it in the Regional and Languag ...Show All
DORANGE handle multiple URL links in a richtextbox
how do you determine which link was clicked Thanks. I don't think that will work because the links will be dynamic and that procedure executes finding the URL when there is no text in the rtb. yes you would have to setup error checking for the values...ie if the search string is not found it returns negative 1...now if you are saying that you don't know what the urls are in th ...Show All
CutiePie .net application updater
Does anybody know if there is a .net application updater version for the 1.0 framework, the download in the website gives the version 1.1 Thanks Salvador ...Show All
hyungshinp bind 2 string arrays, first as .displaymember 2nd as .valuemember
Hi, I have two two arrays, one of string type and second of System.Guid type. How can I bind array of strngs as display member of a listbox and array of System.Guid as Value member of a listbox Thanks, Thanks a lot!! ...Show All
Ravinder Singh Force another key in datagrid?
Hi, I extended dataGrid class and overided ProcessCmdKey(). Now i could trap any key press inside of the datagrid. The question is how could i force another key instead of the one which pressed. e.g. let say the Enter key pressed, i want to&nbs ...Show All
AWBeale DataGridView: Multiline Cell Data Entry?
It's SHIFT-ENTER, not CONTROL-ENTER, to insert a line break. D'oh! ---Mike (see you figured it out!) The DataGridView supports line-breaks with WordWrap = true, it doesn't support line-breaks when WordWrap is false though. When WordWrap is set to true users can add returns using the Shift+Enter keypress. Does this do what you need -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
wjxia Anyone know why my pretty icons look stupid on toolbars? :-)
Hi everyone, Any help with the following would be very greatfully received. I've been having a lot of problems trying to get the standard winforms toolbar to display my images correctly. The image in question is a 32x32 icon graphic saved as a png (with& ...Show All
ruben_ruvalcaba_camba xml files are not deployed to directory where the application is running
When I publish my application with ClickOnce xml files containing custom configuration are not deployed to the directory where the application is running from. Is this the correct behaviour What is the recomended way to organize custom configuration with ClickOnce publishing Dears, I have this type of problem but extension is pdf. I dont see pdf file in the list of Application files Pls, help me. Thanks in advance. T ...Show All
S. Craig Display a 'Wait Splashscreen' form but only after 1 second??
I am trying to get a pop-up form (a wait splashscreen) to appear during long processes, but I only want it to appear if the long processes take longer than 1 second. Ideally, I want the long processes in the same thread, as there&nb ...Show All
pompeybob44uk Graphics
I have been doing web development for 6 years (ASP.NET for the last three). I am now tasked with creating a Windows app to provide a subset of functionality for disconnected users that typically use our web app. I need to provide the same look and feel in the windows app that the web app has. I am lost. Since there are no easy ways to create tables and such for layout in WinForms, I was thinking of using GDI+ to create the graphical elements tha ...Show All
Lecenio How to allow edit of Multi-line text in a DataGridView cell
Trying to figure out How to allow edit of Multi-line text in a DataGridView cell. I'd like something like the VS2005 IDE does when editing a text control's text property. Shift+enter opens a new line... See this post also... http://forums.microsoft.com/msdn/ShowPost.aspx PostID=71416 To Clarify: I want to allow a user to be able to enter multi-line text in a datagrid textbox cell, similar to how you edit any Multi-Line text ...Show All
amurati Custom ToolStripRenderer - Display at Design Time?
Hello, I am using my own ToolStripRenderer to render my ToolStrip. At runtime I set the Renderer property of the ToolStrip to my ToolStripRenderer. Hurrah - it works! However, I would like to see my rendered ToolStrip at design time. Any ideas Many thanks in advance. ...Show All
OnTest How did they achieve the Windows XP Look?
Does anyone know how they got the controls on the forms to take on the Windows XP appearance. For instance the combobox controls take on a flat border style appeareance which isn't even a DropDownStyle option. All the controls seem to take&nbs ...Show All
JonathanMA How can I find out if a form (in my case a child form of MDI parent) is maximized?
Hi, How can I find out if a form (in my case a child form of MDI parent) is maximized is there a way to know the MDIParent max size for its child forms Thanks, You can use the WindowState property to determine if the form is maximized: if (myForm.WindowState == FormWindowState.Maximized) { } > is there a way to know the MDIParent max size for its child forms I'm not sure what you ...Show All
eraniopub How to serialize your target
How do I serialize my target The BinaryWriter does not take Object as a parameter. Never mind. I figured it out by looking in the samples. You just serialize the targets ID property as a string, then deserializing by using the R ...Show All
