infragistic ultragrid C# winform
I would like to select multiple rows in the ultragrid WITHOUT holding the CTRL key. is it possible? i have rowSelecteType = extended. ...
I would like to select multiple rows in the ultragrid WITHOUT holding the CTRL key. is it possible? i have rowSelecteType = extended. ...
I have return cellvaluechanged event for my column1 which contains the category combo box.if i select the category i need to display the selectedvalue to column 4 .how can i do that?.. ...
Can anyone explain the basics of developing a control (containing a specific type of child control) where child controls can be managed through the Control.Items property and adjust selection through Contorl.Items.SelectedItem. I've considered that the control I've written would be best used as such a child control (many instances will ...
I want to use HtmlAgilityPack in a form application to read some pages content but on the page search subpage I need to invoke the javascript and the link looks like this: <a href="javascript:__doPostBack('lnkbtnNext','')" id="lnkbtnNext">Następny >></a> How can I Call this function from my C# desktop application? ...
I have a VB .NET form with a splitter control on it, and I want to save its position between program runs. I am currently handling the SplitterMoved event and storing the SplitterDistance. Then on program startup, I set the SplitterDistance to the saved value. However, sometimes the program resizes the splitter, raising the SplitterMo...
I've set up a simple progress bar in a VB6 form using the Microsoft Common Controls 6.0 component, and everything seems to work correctly. However, I use the progress bar for several different parts of the form, each of which use different (and variable) maximum values. When I try to change the maximum value at run-time after the bar h...
I am working with the clipboard in .net with the following code List<object> templateList = new List<object>(); Clipboard.Clear(); Clipboard.SetDataObject(templateList); IDataObject dataObject = Clipboard.GetDataObject(); var x = (List<object>)dataObject.GetData(typeof(List<object>)); For the above code x is an empty List...
Hi, I am not sure what is the best way of using graphics - should I attach my classes to main form Paint event and then do the drawing, or it is better to call it from overidden OnPaint void like this? I mean, is it OK to do that like this: protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e) //what is this good for?...
I have an ActiveX control (VB 6.0) that I am using in C# and its right click "e" param has int e.x and int e.y now I want to show the contextmenustrip for this contorl. It is showing but not at the exact location that I right click the mouse, it is some point higher that where I do the right click. I wrote something like this to fix t...
Hi, I have a C# WinForms program thats starts another Process. The program then waits until the Process has finished. Currently I use Process.WaitForExit(), but this means that while my program waits for the Process to end, it doesn't repaint and "looks" like it's not responding. Is there any way for the Window of the Process that my ...
We have a WinForms application that includes controls such as picture boxes that are positioned on a form. The base application is in English. We've translated this application to a number of different languages (French, Spanish, Danish, Greek, etc.) and most recently to Simplified Chinese. The translated application works perfectly on...
Hi guys. I am trying to bind array of structs to the ToolStripCombobox but with no success. I've tried to use it like in this example but I am getting error when I try to setup a value member. My code looks like this: public struct PlayTimeLength { public string Description; public double Seconds; public PlayTimeLength(st...
To highlight the text I am doing maskedTextBox.SelectAll() for the events of "Enter" and "MouseDown" and it is working when I using the Mouse but I go to that text box by pressing the TAB key, it does not work what Am I missing in here? ...
I want my C# .NET application to have a form but not be a form. When I normally startup a windows forms application, it's like the form is the master of everything else that follows: static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.R...
I really had no idea what to title this question. Assume I have a windows form application. The GUI is complex enough to require two custom user controls, "LeftSide" and "Rightside" which each are composed from various buttons, labels, and maybe even another custom user control. My question: I am in in the scope of the "Rightside" con...
I'm trying to loop through my foreach loops and spit out output to my datagridview. The datagridview has 3 defined columns: Path, Old File Name, New File Name However, I keep hitting errors. First, here is the code: public partial class SanitizeFileNames : Form { public SanitizeFileNames() { InitializeComponent();...
on closing the main form of the application(which I call so many methods on it,etc) if I run my application from IDE and want to close it, it is ok but if I just run the exe file It will throw an exception. so what way do you propose to me for debugging it? as I said when I run it from the IDE, it is Ok and no error occurs ...
In my current app I have a Tree control on a page of a TabControl which is inside a panel of a SplitContainer control. The tree control can thus be hidden by either hiding the SplitContainer panel, or switching to another TabPage in the TabControl. In the Form's menus there are commands which act on the currently selected Node in the tr...
At least one item always remain selected in ListBox. I want that when user clicks empty area of ListBox, selection should be cleared. How to do this? I am trying to replicate Opera Notes as a part of my application. First i was using a binded DataGridView now i am using a binded ListBox on left pane ...
When initializing properties of controls or other values related to a Form I have a tendency to switch back and forth between initializing the values in the Form's constructor and then later when the Form.Load event is evoked. What is the generally accepted usage of a Forms constructor vs it's Form.Load event? With other classes I would...