Hello, this is my scenario, and I want to know if it's possible to accomplish what I intend to do:
I have a class library (made in c#) that inside has a class (named SForm) that inherits from System.Windows.Forms.Form. In that class I declare some strings, and methods to set those strings' values.
public class SForm : Form
{
public ...
Hi,
In Windows form's Grid View i can select multiple rows by pressing control key.Is it possible to select multiple rows without pressing control key.
Thanks in advance
...
I want to be able to display process update information to a user. The way I want to do this is by having a control on the main winform that (at a yet undecided process) keeps the user informed via text of what the status is. I want this text to scrollup (within a control) as more text is added.
What is the best way to achieve this?
...
I'm trying to build a rather complex UI and minimize unused space.
I have an unknown number of controls and I'd like to group them into panels. All of these panels should be added to a parent panel.
So, it might be something like a single parent panel which contains 6 child panels. One of these 6 might have 2 checkboxes and a textbox....
Hi,
I'm having a problem with some custom forms I developed. This form worked perfectly with VS2008, but is causing an error with VS2010. Going back to VS2008 is a worst case scenario option for various reasons.
Anyway the problem -
When I try to view a form of type FormWithError in design mode I get the standard "To prevent possible...
I would like to have a console window embedded in a Winform. Is there any way to do this?
...
I have a legacy desktop application using JET for the database. The application needs to be able to access the database file from a network drive. Should I migrate the data access to SQL CE (or SQL Lite), or leave it in JET?
Maximum table row size is around 50000.
...
Hi, folks,
I've developed user control on WinForms, that consists of 2 textBoxes and 1 button between.When i add this control to the form and try to resize it(in general i need to resize only width), textboxes and button are not resized and staied on their place, but resized only form(User control) on which this controls are placed. How...
I am wondering whether it is a good idea to make labels public so other classes can change them and get their value. Is this a good idea? If not, how should it be done then?
...
I have a program that shows a lot of data, and I am wondering what the best way would be to get and set the values of the labels in windows from other classes.
Update: I am basically wondering about this:
private string _name;
public string Name
{
get
{
return _name;
}
set
{
_name = value;
}
}
...
I am using vb.net and DataGridView on a winform.
When a user double-clicks on a row I want to do something with this row. But how can I know whether user clicked on a row or just anywhere in the grid? If I use DataGridView.CurrentRow then if a row is selected and user clicked anywhere on the grid the current row will show the selected...
I’m creating a small application (a phonebook), actually
I already created it using ms access as a database, but now, I’m learning XML and planning to use it as a database for this app (just for fun and educational purposes).
Here’s the diagram in my access database.
And I created two XML files with the same structure as for the tw...
Hai all,
I am using TabControl in c#.NET application.By default first tab page of TabControl is showing in form loading .I want to activate/show other tab pages in form loading. programmatically how can i show other tab page .
Please help.
...
i just got rid of all my compiler errors. One of the problems was that I accidentally renamed the visual form itself instead of one of the individual text boxes on my GUI. When I went to change what I had messed up in the code, it seemed to be working again. However, whenever I hit F5 to debug, I get a smaller, blank window as my GUI, an...
Can someone help me with a code snippet in C# to search(linq preferably) for either XML element or attribute in a XML loaded using treeview control? The user has a search string tab in a WinForm UI and on a successful search the given node containing the element or attribute string is highlighted.
...
I have an application in which some sides i am using Filter conditions,,But i dont know the meaningof usage of word
"recursive" in that filter conditions
Here is a bit of code
// Indicates a recursive filter. Only valid for object type property filters.
private bool m_recursive = false;
------------------------
/...
I've a very trivial requirement which makes me go nuts. I've a DataGridView in windows forms application. This contains one databound ComboBox Column. I'm using DisplayMember and ValueMember properties of that combobox.
Now my requirement is ComboBox should show the list of DisplayMembers in drop down list but when user selects one ite...
I am looking for a WinForms control that, I believe, in the days of VB 6.0 (I can't remember if it was VB 6 or .NET 1.1) used to be called the ButtonImage or ImageButton or some such. Whatever it was called is not important.
What it used to look like and behave like is the important thing.
If you open Control Panel -> Add Remove Progra...
I have a application in which i have several forms. In that forms, I have a System Settings form. I have to open this form from the menu as well as a shortcut created on the desktop.
I am able to open the form from 2 places individually. But the problem is, It's opening two separate instance of the same form. it means, first, i have cl...
Using WinForms.ReportViewer I'd like to get a hold of the number of pages that are rendered.
I need to generate a contents page for a collection of reports and to do this I need to know how many A4 pages are rendered for each report so that I can subsequently generate the contents page. The reports are able to be edited by the end user...