I work with many diverse technologies, and don't possess the time to evaluate every single UI framework, so I'd appreciate hearing other coders' experiences with various frameworks.
The stuff I've worked with so far (and my perceptions):
WinForms: DevExpress (love the looks, hate the API and bloat), Krypton (free!, looks good, but lim...
I am wrapping a command line process in a WinForms app and redirecting the output so it can be piped into either an RTF control or a listbox. It would be nice to be able to preserve the foreground color of the text as it comes through so it can be displayed properly in the form. Is there a way to do this?
...
I want to display some bold and some simple content in the form so I am using richtextbox.And I have made one file with extension of .rtf.Now I load that file in the richtextbox with use of the Loadfile() function.This works. But I want to display particular content of the file in the richtextbox,like may be first five lines or it may be...
//Introduction
Hey, Welcome.....
This is the tutorial
//EndIntro
//Help1
Select a Stock
To use this software you first need to select the stock. To do that, simply enter the stock symbol in the stock text-box (such as "MSFT").
To continue enter "MSFT" in the stock symbol box.
//EndHelp1
//Help2
Download Stock Data
Next step is to to...
What is header in richtextbox format?? And how can we manipulate the rtf file.
...
And how?
I want to implement an simple enough dialog with several buttons.
...
I have a winforms application in which some of the data is stored in XML files.
The location where these XML files should be stored can be configured by the user, and is stored in the AppSettings.
All my layers are separate assemblies. Can I access my settings from my DAL assembly, or should I pass this as an argument through all my laye...
I often use FormBorderStyle = SizableToolWindow with forms on smaller resolution displays (ie netbooks) for the smaller title-bar height and border sizes.
The MaximimizeBox and MinimizeBox properties are also set to True however it appears they are ignored because only the Close button is displayed.
I have also tried the customizing...
is there a way to disable the validation of errorprovider elegantly when click cancel button to dismiss a winform?
The validation always happens when the textbox lose focus, and i don't wanna it to validate when the user click cancel button, it is just a little bit silly to validate when the user clicking cancel.
...
Hi,
I want to create a table representing data I have, but I want each row to have a custom display. I have developed a little custom control that represents a row and has a few items in it (text box, check box, progress bar), however how do I now in the main form create multiple instances of this for the data I have?
e.g. is there a ...
I have a XML file as follows,
<RootNode name="CurrentDbName" value="040110">
<ChildNode name="Application" value="App">
<LeafNode name="Source" value="Source"/>
<LeafNode name="Publish" value="Publish"/>
</ChildNode>
<ChildNode name="Database" value="DB">
<LeafNode name="Dev" value="Dev"/>
...
I have a form which is displayed through: ShowDialog().
The form doesn't have CancelButton specified.
When I open a BrowseDialog from the form and then close the BrowseDialog, the form is also closed. How can I prevent this from happening?
When the "browse"-button is clicked:
browseDialog.SelectedPath = projectLocation.Text;
browseDi...
I have to create a form capable of displaying a cinema-hall (don't know the exact word) schema. Essentially I have to display a large number (given by another source) of independent chair-like images which can change color (status) on click.
I surf the web searching for a solution but I really don't have a clue how to manage this.
Can s...
Hi,
I have used the Shockwave Flash object com component in my .net Windows form. The problem is in one of the user's system,it is asking for the installation of Adobe Flash player as it is not already installed. But it is installed in his system.
Kindly let me know why this is happening.
...
The DataGridViewCellMouseEventArgs object provided in the events (eg CellMouseDown, CellDoubleClicked) gives the column as a numeric index in DataGridView.Columns but I don't want to hardcode a number into my event handler. I'm using a strongly typed dataset and am wondering if there's a way to find out what the column index for MyDataR...
I want do draw a reflection in C# (WinForms) of an image, so I need to be able to flip the image horizontally. I know I can do this with image.RotateFlip, but the problem with this approach is that I have to flip the image twice so I can draw it again the right side up on the next paint. Doing this twice per paint per image seems to be...
Let's say we have the following code in a Windows application:
ComboBox comboBox = new ComboBox()
{
AutoCompleteMode = AutoCompleteMode.SuggestAppend,
AutoCompleteSource = AutoCompleteSource.ListItems,
DataSource = new string[] { "", "Ark", "Boat", "Bucket" },
DropDownStyle = ComboBoxStyle.DropDownList
};
this.Controls.A...
I have a custom container control (deriving from FlowLayoutPanel) which contains zero or more child controls dragged there by the user. When a child control is clicked, it is "selected." (It is drawn with a colored border and options are available for altering its properties.)
I would like to handle the Delete key so that, if the user i...
Is there a simple way to implement databinding when neither of both classes is of type Control?
In my case, I would like to bind a variable to a property of a custom ToolStripButton.
EDIT for clarification: when binding to a Control, I can use Control's DataBindings collection. However, I am searching for a way to bind properties regar...
Please let me know the answers to the following:
Is it possible to programmatically fire the touch and gesture events of Windows 7?
Is there any API?
Is it possible to fire the event from a computer without touch screen?
I am looking for something implemented or implementable in C# if possible.
Any help will be much appreciated.
Th...