I have a ListBox and 2 DataGridViews.
I have an Object which has
[Serializable]
public class Process
{
...
public string ProcessName { get; set; }
public List<Step> Steps { get; set; }
}
[Serializable]
public class Step
{
...
public List<StepEvent> StepEvents { get; set; }
}
[Serializable]
public class StepEvent
{
...
...
Hi,
I have to create few forms and give it as direct EXE (instead of installer, which installs .NET framework, which the end user is not happy, they want something they can directly open and work).
I know it can be done as web, but am looking for winforms?
Please suggest which tool/technology can handle this?
Thanks,
Karthick
...
When I try to show an image on linklabel click, I get an error: unrecognized escape sequence.
Code:
public void linkLabel1_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(
"mspaint~C:\Users\Joshua Banks\Desktop\Downtown_atlanta_night.jpg");
}
...
I have a Form 1 as listed below, im trying to inherit the variable text from it so i can compare is value in an if statement so i can output the file specified for that id number in Form 2...is this possible???
Form 1, where variable is being used:
public void button2_Click(object sender, System.EventArgs e)
{
time...
What am I trying to achieve?
I am writing a windows-form based application in C# .NET 2.0. The application should behave like this: No form should be visible; just a system tray icon is the entire application. So, I have to hide the form during startup and make a NotifyIcon available in the system tray with a ContextMenuStrip attached to...
i am using CAB fame work to develop smart client application and i have a user control which contains to many group-box and other controls. At run time i placed this user control inside the main form but on mouse click user control's mouse events not fired. how i trigger the user control's mouse click event.
...
We are using a WebBrowser control in our win forms application which is running in terminal services. IE 7 is the browser that is installed for the session. We are using WebForms to generate the web pages.
If we try and submit a web page in the WebBrowser control it does not work. The submit button does not push down.
If we try and su...
Hi,
I need to connect to a provider's web service with a Windows Form application. He gives me a certificate to access it but I have a security problem.
I have done these following steps :
Add certificate to personal store (on IE & Firefox)
Generate a proxy with the remote wsdl (no problem)
Use this code to call a method :
`using (...
Hi again,
When trying to do a query using LINQ in VB.net in order to select some employees of a datatable previously filled with a dataset I have a problem when using where clause. What I want is select all the employees of the datatable except those that appear in a list of excluded employees named CurrentExcludedEmployeesLst. So I fol...
I am making a very basic map editor. I'm halfway through it and one problem i hit is how to delete an object.
I would like to press delete but there appears to be no keydown event for pictureboxes and it will seem like i will have it only on my listbox.
What is the best solution for deleting an object in my editor?
...
I've got a user control class that works fine, drawing, events firing and the works. When i programmaticly add it to a class that extends from Panel it disapears. I've checked around and the line that makes it disapear is the line where i go
panel.Controls.Add(myuserControl).
Without that line the control works just fine, does anybod...
In window form, I made a button and I'm trying to make it send F1 to a specific window (Such as FireFox, My Computer, etc...)
My questions are :
How do I do it by the window's name? (such as "Mozilla Firefox")
How do I do it by the process's name? (such as firefox.exe)
...
How can I allow the user to click to check an item in CheckedListBox in one click? The default behavior is the first click selects the item, the second click allows you to toggle the check. I don't want to toggle the check on select either, I'm looking for the behavior of the ListView control where I can click directly on check boxes to ...
I have a Form with a control (a SplitContainer) docked on the right side. The width of the control can be changed in the editor, but not at runtime. What do I have to do to make the docked control resizable by the user?
The rest of the form should be a MdiContainer. So as far as I see, other containers are not usable, because they can n...
Hi All
I have what I consider to be a pretty unique problem here, and no idea how to implement. From what I've seen, there is no documentation, tutorials, samples and/or articles on this. I've spent weeks researching, with nothing to show.
The problem:
I need the user to be able to select the contents of a Label Control at runtime, an...
I ve made this simple drawing to explain my needs:
Plain Text in C#
I can only find rather "complex" functions, like RTF Text box etc. I couldn't figure out how to display "plain text" in a Form1.cs
(I do not talk about HTML to WinForm)
(Search did not return any useful results)
...
Hello community,
I have trouble editing a databound bindinglist. Let me illustrate it with the following:
Say I have the Person class:
public Class Person{
private string m_firstname;
private string m_lastname;
public string FirstName{get;set;}
public string LastName{get;set;}
public Person{ ... }
}
I then have a containin...
I want to check whether there is string starting from number and then optional character with the help of the regex.So what should be the regex for matching the string which must be started with number and then character might be there or not.Like there is string "30a" or "30" it should be matched.But if there is "a" or some else charact...
Hi All
I am trying to implement a feature. But I've never had anything to do with "Web Services" before, other than using them.
I have a desktop application, and I want that application to be able to sort of "post" some information (i.e. email address, username, user-selected options (just plain text) etc) to an application or "web ser...
I have datatable and I am displaying those values in the datagridview with the helping of code :
dataGridView1.ColumnCount = TableWithOnlyFixedColumns.Columns.Count;
dataGridView1.RowCount = TableWithOnlyFixedColumns.Rows.Count;
for (int i = 0; i < dataGridView1.RowCount; i++)
{
for (int j = 0; j < dataGridView1.Colum...