Click here to Skip to main content
15,888,301 members
Home / Discussions / C#
   

C#

 
AnswerRe: Programming Pin
0x3c09-Apr-09 10:46
0x3c09-Apr-09 10:46 
AnswerRe: Programming Pin
DaveyM699-Apr-09 11:14
professionalDaveyM699-Apr-09 11:14 
AnswerRe: Programming Pin
jaypatel5129-Apr-09 20:15
jaypatel5129-Apr-09 20:15 
AnswerRe: Programming Pin
jaypatel5129-Apr-09 20:38
jaypatel5129-Apr-09 20:38 
AnswerRe: Programming Pin
Skymir10-Apr-09 7:22
Skymir10-Apr-09 7:22 
QuestionSend value from a form to another ! Pin
mrkeivan9-Apr-09 8:22
mrkeivan9-Apr-09 8:22 
AnswerRe: Send value from a form to another ! Pin
DaveyM699-Apr-09 8:39
professionalDaveyM699-Apr-09 8:39 
AnswerRe: Send value from a form to another ! Pin
jaypatel5129-Apr-09 20:39
jaypatel5129-Apr-09 20:39 
One of the best way to pass some value is by overloading the constructor.

For e.g if you want to pass an integer id or something like that from form1 to form2.
you need to do is make a small function on form2 like :

public Form2(int id)
{
InitializeComponent();
this.ID = id;
}


And while opening the form2 in form1 you need to do is

Form2 frm = new Form2(3); //3 can be replaced by any variable.
frm.showdialog();
or
frm.show();
GeneralRe: Send value from a form to another ! Pin
mrkeivan10-Apr-09 8:59
mrkeivan10-Apr-09 8:59 
GeneralRe: Send value from a form to another ! Pin
DaveyM6912-Apr-09 21:51
professionalDaveyM6912-Apr-09 21:51 
QuestionCreate an EXE that runs without .NET Framework Pin
Mogaambo9-Apr-09 7:13
Mogaambo9-Apr-09 7:13 
AnswerRe: Create an EXE that runs without .NET Framework Pin
harold aptroot9-Apr-09 7:21
harold aptroot9-Apr-09 7:21 
AnswerRe: Create an EXE that runs without .NET Framework Pin
Dave Kreskowiak9-Apr-09 7:29
mveDave Kreskowiak9-Apr-09 7:29 
AnswerRe: Create an EXE that runs without .NET Framework Pin
EliottA9-Apr-09 7:38
EliottA9-Apr-09 7:38 
AnswerRe: Create an EXE that runs without .NET Framework Pin
Dan Neely9-Apr-09 7:43
Dan Neely9-Apr-09 7:43 
AnswerRe: Create an EXE that runs without .NET Framework Pin
Christian Graus9-Apr-09 9:26
protectorChristian Graus9-Apr-09 9:26 
GeneralRe: Create an EXE that runs without .NET Framework Pin
Dan Neely9-Apr-09 10:51
Dan Neely9-Apr-09 10:51 
GeneralRe: Create an EXE that runs without .NET Framework Pin
Mogaambo10-Apr-09 4:34
Mogaambo10-Apr-09 4:34 
GeneralRe: Create an EXE that runs without .NET Framework Pin
Henry Minute10-Apr-09 7:49
Henry Minute10-Apr-09 7:49 
GeneralRe: Create an EXE that runs without .NET Framework Pin
Mogaambo12-Apr-09 20:19
Mogaambo12-Apr-09 20:19 
Questioninsert data from EXECL sheet Pin
naveen20_59-Apr-09 6:25
naveen20_59-Apr-09 6:25 
AnswerRe: insert data from Excel sheet Pin
fly9049-Apr-09 6:47
fly9049-Apr-09 6:47 
GeneralRe: insert data from Excel sheet Pin
naveen20_59-Apr-09 6:55
naveen20_59-Apr-09 6:55 
Questionimage processing in c# "(Vector) Pin
Member 36083309-Apr-09 6:04
Member 36083309-Apr-09 6:04 
AnswerRe: image processing in c# "(Vector) Pin
musefan9-Apr-09 6:28
musefan9-Apr-09 6:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.