Keeping in mind what CannibalSmith once said - "All the answers are saying "WPF is different". That's a huge understatement. You not only have to learn lots of new stuff - you must forget everything you've learned from Forms. It's a completely new way of doing UI."
.. and having many years of experience with visual Windows desktop appli...
there is a folderbrowserdialog control in winform but not in asp.net
is there anyway to get the control working in asp.net??
if no, how can i implement a control similar to folderbrowserdialog in asp?
...
For examle, I want to change text in the textBox from the method of the other class. How should I do it?
...
I sort the records of the datatable datewise with the column TradingDate which is type of datetime.
TableWithOnlyFixedColumns.DefaultView.Sort = "TradingDate asc";
Now I want to store these sorted records into csv file but stored records are not sorted by date.
TableWithOnlyFixedColumns.DefaultView.Sort = "TradingDate asc";
DataTab...
There are three columns in the datatable
Amount Commission Others
1000 200 100
2000 100 200
Now I want to build another column based on these three columns name totalAmount that is the sum of these three columns like the column will be
totalAmount
1300
2300
I got the records of the three columns Amount,Commission...
after entering some text in textbox control (C# window application)and pressing button it will raise two events one is button click and another is my application defined event. im not able to catch the event. and im getting this error. how to solve this ... pls help..
...
With the CheckListBox in VB.NET in VS2005, how would you make it compulsory that at least one item is selected?
Can you select one of the items at design time to make it the default?
EDIT: What would be best way to handle the validation part of this scenario? When should the user be required to tick one of the boxes?
...
So, I'm working with the following assembly, which has the following defined (fairly harmless):
public class QueryDefinition
{
private List<QueryFilter> TheCurrentFilters = null;
public List<QueryFilter> CurrentFilters
{
set { TheCurrentFilters = value; }
get { return TheCurrentFilters; }
}
// other...
I currently started to "port" my console projects to WinForms, but it seems I am badly failing doing that.
I am simply used to a console structure:
I got my classes interacting with each other depending on the input coming from the console.
A simple flow:
Input -> ProcessInput -> Execute -> Output -> wait for input
Now I got this bi...
Hey,
I need to create a user control in C#.Net, which can be added to the application without being visible - just like the FolderBrowserDialog. It's a new window which I'll be using often so I think this is the right way. The window will be opened by envoking the showDialog-Method as known from the other dialog.
Any Idea?
Thanks and r...
Trying to decide on the best element to use for a grid view, pretty much exactly like the one you'd see in uTorrent or any other upload/download client. Specifically, I want to have a 'progress' column too (with progress bars). Using VS2010/.NET4. Haven't really started the project yet, so either WPF or WinForms are fine. What would you ...
Hello, I'd like to create a custom datasource that is shared between a Winforms and Webforms project. This functions as a middle layer for a reporting tool(DevExpress Reporting). The Webforms project is a designer for these reports. So we want for the reports to be capable of going to the server to get data and such. So our datasource wo...
Hi,
I have this Windows Forms application where it sits in the notification area. Clicking on the icon brings it up front, clicking it again (or clicking on the app X icon) sends it back. This is the type of app that having the window always on top is important when it's displayed by clicking the icon (it's optional though).
Right-clic...
I noticed that adding a MenuStrip (from the VS Toolbox) to my form design doesn't yield a menu bar like many native Windows applications. Instead I get a menu bar like VS's own. None of the style settings for MenuStrip appear to mimic the much more common native menu bar.
Is there a way to add a menu bar to my Windows Forms application ...
Hello,
I've an app written C & C++. Now, I need to provide a GUI for this app. MFC is the best option for me. But I'm not familiar with MFC.
So can I use .NET to build GUI for this? If so, How? Please be clear.
If I can use .NET I guess I can use WPF too right?
...
What is the best way to write the code ?
(1) Like directly writing the code in the button_click() event.
or
(2) Make the function of that code which I write in button_click() event and write this function in one class and then that function I should call in the button_Click() event.Like is it called three-tier approach to write the c...
In C# environment, setting a checkbox's CheckState property to Indeterminate displays a "green square" inside the checkbox.
In VB environment, this displays as a "grayed out check" (which is less intuitive, even for "dummy" users).
How do i make Indeterminate state look like a "green square" in VB.NET ?
Btw, i am using VS2008, Winform...
Hi,
I have images in Resources, and I'd like to get their ID.
I dont find the following code from MSDN to be very helpful.
How did it get the number 20624 and 20625?
If I have image accessible with Properties.Resources.Image1 , how can I programmatically get its ID?
private void DemonstratePropertyItem(PaintEventArgs e)
{
// Crea...
Hey folks ,
i'm working with 3 projects ,
one C# (let's called it A ) the other two are Wpf projects(let's call them B,C).
The project B has a main window which contains a button ,when i press the button it shows the project "A" main's window .(i've done that
by adding the right references and doing the code below in button click ev...
I am new to resources.resx and related concept. I need some tutorial to use resource and localization for windows forms.
...