Is there any Radio grop button in .net winforms?
There is option called checkedListBox1 for check box group item.. Like that any control for radio button. and how to bind my data(data set) in that. ...
There is option called checkedListBox1 for check box group item.. Like that any control for radio button. and how to bind my data(data set) in that. ...
I have created a user control on winform where i want to display some text on Label Control at runtime. Here I used textFormatFlag as WordBreak and then displays it in the next line. Size of label is fixed in width while variable in height. Now the problem here is how to break a string if there is no space between i.e. no WordBreak Prese...
Good morning, I'm shopping around for a dropdown list control that allows me to select multiple items. Something akin to the CheckedListbox, but in dropdown list form (I don't want it to take up a big chunk of the screen). At this point I'm pretty convinced there is no such control built-in .NET. Note this is Winforms, not ASP.NET....
Hello, I found a method for copying ntfs permissions information from one existing folder to a newly created one - I'm not sure if it's doing the work it should do. Maybe one can have a look at the method and give some comments: private static void CopySecurityInformation(String source, String dest) { FileSecurity fileSecurity = Fi...
I am getting checkedListBox values from database. Based on my checkbox selection it will perform some operation.where i have to write the code for checked items. ...
I am working on a largish c# project with a lot of winforms that, even though you can resize the form, the elements in the form don't scale. How can I make the form elements (such as the datagridview, text area's, etc) scale when the user changes the size of the form. Nearly all the forms subclass from one specific form so if there's ...
I have been testing my .NET windows applications with Mono on Ubuntu and noticed that my controls are always stretched in height. Width wise appears to be fine. I have a stack of 5 comboboxes that fit nicely within a panel, but with Mono on Ubuntu the comboxes are too tall and the last comboxbox is pushed into the boundary of the panel...
I have a form which spawns from an excel add-in written with VSTO. I would like the form to remain always above the excel spreadsheet, but still allow the user to interact with the sheet below it. The forms constructor includes this.TopLevel = true;, but the form still disappears behind the spreadsheet when I select a cell. Has anyon...
is it possible somehow to get the breakpoints to work in SharpDevelop with IronPython/Winforms? They work alright with other languages but with IronPython they just don't stop ...
Hi, In my application i have a window form on which i shows a few links and a datagrid. On click of a link (Expand All), i shows all thhe rows in DataGridView. This makes the grid to jump up on screen. Its a very wierd behaviour. Please suggest some solution for same. Thanks Lalit ...
How can I have a property grid update automatically when the object in its SelectedObject property changes? I've tried implementing INotifyPropertyChanged in my class but the property grid does not actually show the new propertyies of the object in the background until I click on it. I've tried subscribing to the PropertyChanged event ...
Hey all, The problem like this, I have a groupBox which contains two radio buttons, when I run the form, the first radio button get checked immediately, so I tried the following: Set the check property for this radio button to false in Load form. Set the check property for this radio button to false in the form constructor. Change the ...
In Windows Forms, C#, .NET 3.5, VS2008... What's a good way to isolate the code for a MenuStrip (or any complex control group), and it's child menu items, from the rest of my form? For example, when I have a MenuStrip with a number of menus and each menu has a number of menu items, which all have click events, a ton of code is spewed i...
I have a little application that creates alerts whenever a change to a database is made. I have a few options in the alert form that pops up. One of the options opens another form (a child form) asking the user for further information. When the child form gets the necessary information from the user, I want it to close as well as the pa...
I am trying to have a button on my C# windows form with a name "Click Me" It looks like the button text accepts only the words before the space and ignores the rest. Having: this.button_ClickMe.Text = "Click Me"; Displays my button with text "Click" only. Any idea why? and is there a work-around?? Ivar ...
I have an application that does the following: one component looks for changes in a database For every change, a row is added to a table storing change alert information Another component looks for alerts For each alert, an alert form pops up Previously, I had my code only show one alert at a time, and things worked just fine. Now, I...
I have a DataGridView with a DataGridViewComboBoxCell. In the gv.EditingControlShowing handler, I am setting the DataSource of the DataGridViewComboBoxCell. I also have the gv.CellValidating event wired to a handler. When I check the DataSource of the DataGridViewComboBoxCell, it is different than what I set it to in the CellValidatin...
Im writing a user drawn TabControl. The class inherits from the base TabControl class and for some reason I can't get rid of this ugly gutter. I want the TabPage to span the entire width of the control. Do I need to draw my own TabPage? ...
C# WinForms: I have a static toolbar that is always on my form. but sometimes for example when user selects a command from a menu, I wish to have a second toolbar that is getting added to the right hand side of my static toolbar. How can I accomplish that? Thanks. ...
C# WinForms: I would like to have two Toolbars But I also want them to be at the same line . I mean I do Not want one of them to be below or over the other them. so they will be in tow lines which is I do not want. How can I do this? ...