Hi all,
I have a winfroms application, which I need to support in multiple languages. I would love to have a possibility to offer to the user during the installation setup (default Visual studio setup project) selection of a language he wants to install. Afterwards, application will use this language rather than choosing language based ...
How to make the startup form initially invisible or hidden
I have a GUI project with 2 form and the forms have to be displayed separately. i.e. When form 1 is shown, all the other forms must be hidden.
I can hide all the other forms, but I cannot hide the startup form.so that my application's icon in the System Tray.
For example, fir...
we have a weird requirement where our apps executed in the Sandbox environment are manipulated by some other app. The outer app modifies the visual style of the windows using ShowWindow() of the user32 dll.
When a .net app with MODAL windows opened is Minimized and maximized by the Outer app, it loses all the modal windows which were op...
I want to hook a mouse wheel event to my scroll bar but i cannot see mouse wheel event in control properties. I have a form on which i have a panel and a vertical scroll bar. So far my scroll bar doesn't work with the mouse wheel. I need that event to hook it with my scroll bar. How to do it??
...
Is it possible to have strings in a .NET assembly that can be edited by some external tool? If it is, what tool?
For instance for a single-file Windows Forms application that can be installed simply by copying the single file (no installer required), and where a build system (or a manual process) configures the application on a per-clie...
Best way to track multiple windows in C# WinForms.
For instance, i have an ApplicationContext thats used to manage my application and i have a method thats used to open new windows.
public void CreateWindow(RosterItem Roster)
{
//Check if it is already active, if so, Focus.
MessageWindow MessageWindow = new MessageWindow();
Me...
Can a WinForms exe be installed to program files instead of the user profile dir?
I can have the app installed once in the program files and later all updates should go in the same location.
...
My requirment is i want to enter decimal value in my textbox ,In case if the user entered the .dot he must enter 3 decimal value other wise it should not allow to leave textbox.if te user not entered .dot he may allow to enter any no of digit how to restrict this in .net winforms textbox.
decimal((1-9),3)
Before the decimal place it ma...
My project is WinForms, C#.
I have a form with TreeView with CheckBoxes set to true. There are a few root nodes each having multiple children nodes.
I'd like to have all children nodes to have the same checked/unchecked state as their parent. I wrote the following event handler:
private void treeView1_AfterCheck(object sender, TreeVie...
Where "optimal size" is "all rows and columns are visible, but not more". (e.g. no dark gray background is visible)
Edit:
To clarify: I dont want to auto resize the columns. I have fixed width columns and rows. I want to have the whole control resized. e.g. reduce the width if there is dark gray space visible, increase the width if not ...
Greetings,
My tablelayout panel has one column and three rows. (one docked to Fill panel in each cell.)
now I would like to be able to hide/show the rows . I want only one row to be visible at any time ( based on a user selection of some radio buttons) and I want to to get resized so it fills all the area of the TableLayoutPanel.
How...
By default, the fields in the designer are listed in alphabetical order. Does anyone know which attribute to use in the System.ComponentModel namespace to set the order explicitly?
...
hi
how to do this:
when i press the button - the website will open.
this website has 2 textbox (textbox1 and textbox2).
i need to insert to textbox1 - "hello" and to textbox2 - "word"
(the text that i insert is only on my computer - only on my screen)
how to do it in C# Winforms ?
thank's in advance
...
I am assigning an image (star icon) as a background image to my listview in a C# winforms application.
listview1.BackgroundImage = Image.FromFile("star.png");
Is it possible to align the image so that it appears somewhere other than the top left-hand corner?
...
I have a Windows Forms App that loads a dll @ runtime and executes a method using a Delegate.
The work that is done is basically uploading files into a WebApp and is time consuming.
I would like to use the BackgroundWorker to run it in the Background and then pop up a Form letting the user know that the upload completed and how many fi...
In web programming you have one or more master pages and some content pages that in which you add some content to the placeholders or access elements of the master.
My question is how to handle windows forms that kinda have the same format, let's say header, content and footer. The footer is always the same, the header may slightly diffe...
I've seen several posts that essentially state that UI components shouldn't run as a service. I understand the rational that no one can respond to UI events etc. But the fact remains that are are many automation tasks that are only possible with Windows forms.
Here is a couple of great examples:
I would like to build a url crawler
se...
In the standard windows installer there is a divider between the control buttons on the bottom and the main part of the form. Does anyone know how this would be done in winforms/.net? I've tried fiddling around with the border settings on Panel controls etc, but haven't been able to get the same result...
...
Possible Duplicate:
how to insert value to textbox - website
hi
how to open www.google.com and insert any text to the textbox search (only for show)
in C# Winforms ?
thank's in advance
...
I'm trying it in C# language.. I don't know how to accomplish it. Please help me guys...
Thanks...
...