Hi Everyone,
I'm wondering what is the easiest way to persist a string value, once the form and program are shutdown that I want to use again later when they open the program and form later. In my case I'm using a FolderBrowserDialog and saving the directory the user picks.
I know I can use File.IO and such, but just wondering what ev...
There are tons of good date pickers out there for Windows forms, but I have yet to find any good time only pickers.
Any suggestions?
EDIT
I guess I should be more clear. I am talking about a nicer looking time picker. We use a commercial control suite, and the default time picker looks out of place because it is so plain.
...
I'm making some controls which all have to share the same look and some common behavior, although they are meant for different kind of inputs. So I made a BaseClass which inherit from UserControl, and all my controls inherit from BaseClass.
However, if i add controls for BaseClass in the designer, such as a TableLayoutPanel, i can't acc...
I have a winforms application where I need to capture keyboard input and store it in a script. The script can then be replayed with IronPython to automate the application. My current take on this is to listen on KeyPress events and resend the pressed character with SendKeys.Send(). To handle input with modifiers (alt, ctrl) I listen to t...
I am using the winforms textbox with multiline option ON. I want to limit the number of lines that can be entered in it. User should not be able to enter lines more than that.
How can I achieve that?
...
I have a simple winforms app just one window with one WebBrowser control inside.
On vista this fails to show the date but works OK XP ?
The website runs activeX to show the date.
namespace WindowsFormsBrowserTest
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
...
Hey,
I have a panel which sits on top of a control that renders video. I have controls (buttons, etc), on that panel which I want to be fully opaque. Now, creating a transparent panel background is doable, by overriding the CreateParams property. However, how to I make a panel with a semi-transparent (~50% opacity) background, while k...
In TextBox_Leave event i need to check whether numbers entered in textbox is in serial number or not.If it is not in order then i need to display a message as "number" is missing
For example :
In textbox i have entered 3 and click tab :
I need to display message as
"Number is not in order , number "1" and "2" is missing "
...
Hi!
I have a simple form windows application, on which I have put a custom control for my specific task, I have written the KeyDown Handler for Form, the problem is that the KeyDown handler is working fine with every key other than the arrows keys... The control doesn't come in to key handler? why it is so? when I remove the custom co...
I have a winforms RichTextBox containing lots of lines of text (eg 2 MB text files), and would like to programmatically change the formatting of specified lines, eg highlighting them.
How can I address the lines, rather than the characters? Is a RichTextBox even the best control for this sort of thing, or is there another alternative? I...
i would like to have a trackbar on my form that will correspond to the HUE of the color of the backgruond, given a range of 1 to 360, and another trackbar that will correspond to saturation of the color of the backgruond, within a range of 1 to 50.
...
I have a DateTimePicker and it is currently displaying "Friday, June 26 2009"
How would I change it so it displays "June 26 2009"?
...
Hello,
I woud like to create a filled rounded rectangle at run-time and assign it as content of a PictureBox (already created and hidden) in Windows Forms.
Do you have an idea how can I implement it?
thank you in advance
...
Hello,
Which GUI layout manager is recommend these days?
I saw SmartLayouts (looked nice to work with) and the devexpress extralayout control, but not quit sure about this one.
Are there other players on the marked?
What experience do you all have with these controls?
Thanks
...
I'm obviously developing in debug mode. If I'm starting with the standard run command (F5) my project should start in debug mode but if I publish my project it should automatically switch in release mode. Is this possible somehow, maybe even with scripting?
...
My Listview is setup in the details view with the following column headers:
Image Name || Image Location || Image Size || Image Preview
I would like to know if there is a way to draw an image in the 4th column there. The only way I know, is to set
this.listview1.OwnerDraw = true
this.listView1.DrawColumnHeader += new System.Windows.F...
How can I change the "selection style" on a DataGridView (winforms)?
...
I have a simple winforms application with a number of controls in it. I want to be able to click and drag from anywhere on the form and move the whole set of stuff around (panning). I have figured out the respositioning bit already. What I still need to figure out is how to tie the click and drag into updating my offsets.
What I have tr...
Generally speaking, Will a .net winforms application work in a 64-bit OS or does it need to be modified?
...
Hello,
I would like to create a .NET application that utilizes multiple instances of the WebBrowser control. The catch is that I'd like each web browser control to be running it's own session. IOW, I have a requirement that the collection of session cookies, javascript global namespace, etc. is separate for each instance and that all ...