Windows Forms TableLayoutPanel 2 Rows use all space
I want a TableLayoutPanel with 2 Rows. The second row is 200px high. The first row the rest. If resize, only the first row resizes. How to implement? ...
I want a TableLayoutPanel with 2 Rows. The second row is 200px high. The first row the rest. If resize, only the first row resizes. How to implement? ...
Hi everyone, I've seen this code (and similar) all over the web, but I just cannot get it to work. Whenever I debug it line by line, it breaks out of debugging and loads the application. No error messages are presented, and any code after the "faulty" line remains unprocessed. Here is the offending code: foreach (string folder in allF...
Dear All, I have a problem with connecting to a server which is another machine. When i try connecting my machine with the following code, it works fine: 'connString = "Data Source = .\sqlexpress;" & _ '"Initial Catalog = one;" & _ '"Integrated Security = SSPI" Try conn = New SqlConnection(connString) conn.Open() MessageBo...
Hi all. I have a WPF application that has a variable "x" which is an instance of a class from a custom C# assembly called "MyClasses.dll". This variable "x" has a method "LaunchForm" that launches a Windows Form "Form1" from another assembly "MyForms.dll". The form is launched as a dialog and shown in the screen but the current Windows X...
Hai all, I am using DevExpress XtraGrid in c#.NET application. I want to disable or set readonly property to particular row of XtraGrid . Please Help. ...
Greetings i am developing windows form using vs2010 c# i have 2 datetime pickers 1 is fromDatePicker and the other is ToDatePicker i want to validate that the toDate is always after from date are the same day eg if From:30/8/2010...To:16/8/2010 an error message is showed to user thnx ...
I am looking for a (free) windows forms control for visualizing jobs step / phases. Background: In my programm tasks with more job steps are processed. The user should see, what the actual step (of the current taks( is actually processed (at best animated)... ...
I'm looking for a winforms or wpf control that can do both spelling and grammar checking in english and also do red & green squiggly underlines, similar to MS Word. So far, all I've been able to find are spell-checker controls. I'd be open to good spell checking and grammar checking libraries as well - if you can recommend an integrati...
I was trying to find a solution for issue,,that is one Service repeatadly going on restart which is making the issue.When i checked the event log i can see one waring before the restart occurs Warning is "The description for Event ID ( 1 ) in Source ( ZENworks Patch Management Agent ) cannot be found. The local computer may not have t...
Hello all I use nhibernate to access a mysql database, and I have many -winforms- forms using databinding to modify properties of those objects. There are many –nhibernate- objects created/deleted also during the time those forms are used. I need to implement a "Cancel" button on those forms. I can defer the creation/deletion of objec...
I have winform buttons that when you load the form, a certain button is selected. What I mean by selected, is that if "enter" is pressed, the button is pressed. How can I change my buttons so they don't do this anymore? ...
I am able to resize the from using the code below but it resizes towards right side , from bottom right corner i want to modify the code so that user can re size the form from bottom left corner. also most of the solution given on this site are based on WndProc / WM_NCLBUTTONDOWN and i am not using it because my form have lots of cont...
I have a label on my form which is used to display a path. Occasionally the path is too long to display, so I turned on AutoEllipsis, but it always seems to truncate the end of the string (which is the more relevant part in my particular case). Is there any way to get it to automatically truncate the beginning? Is there another control ...
I am developing an application that needs some kind of subscript and superscript support to display text that refers to chemical formula, if I do it in a textbox (winforms) and want for example show water formula, it would appear as H20 rather than H(subscript 2)O (sorry I coudn't find how to do it here). How could this be done? Thanks. ...
How to change the property of a control in a flowlayoutpanel assuming that you add the controls programatically and assuming that the name of each controls are the same? For example this image shows you that there are 2 text boxes and two buttons, how would I change the back color of button 2? Assuming the controls has been added at run...
hi all! I have in my app a ToolSrip with some ToolStripButtons. I wish add not only the basic image, but an image for the hover state and another for the clicked state, and if possible, remove the orange background when the button is hovered by the mouse... it's possible? thanks in advance! ...
In a winforms application I have a MyForm.cs that starts to get quite large. To solve this I have created a new file(MyForm.LeftPanel.cs) using partial class of the MyForm class with a subset of the GUI functionality. However once in a while, not always, when I go into the designer all event handlers that I have moved to MyForm.LeftPane...
I have a product developed in c# winform winservice application ,when i installed product after some time i can see one service going Down and then Up that means restarting,this is making some issues with functionality.But when i checked the log files , ican see one warning just before service is restarting often The warning is like thi...
I need to add a variable pair list in a form (Name-Value). I decided to set it in a datagridview, and use simple binging to manage it (.NET 2): public class EventParameter { private string name; public string Name { get { return name; } set { name = value; } } private string value; public strin...
Hello. I have a datagridview with 5000 entries. And I want to color the rows based on some values. Here's how I do it: foreach (DataGridViewRow row in rows) { var handlingStage = (ESourceHandlingStage)row.Cells["HandlingStage"].Value; switch (handlingStage) { case ESourceHandlingStage.NotStart...