Click here to Skip to main content
15,348,081 members
Home / Discussions / C#
   

C#

 
GeneralRe: Have associated files use currently running instance Pin
Phillip M. Hoff3-May-06 19:31
MemberPhillip M. Hoff3-May-06 19:31 
QuestionHow can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez3-May-06 9:51
MemberElvia Gonzalez3-May-06 9:51 
AnswerRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez3-May-06 13:09
MemberElvia Gonzalez3-May-06 13:09 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
goyal manish3-May-06 21:36
Membergoyal manish3-May-06 21:36 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez4-May-06 7:29
MemberElvia Gonzalez4-May-06 7:29 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez4-May-06 8:13
MemberElvia Gonzalez4-May-06 8:13 
GeneralRe: How can I set a value in a cell of the DataGridView that contains a DataGridViewComboBoxColumn? Pin
Elvia Gonzalez4-May-06 14:31
MemberElvia Gonzalez4-May-06 14:31 
QuestionHow to pass form reference at run time. Pin
abhinish3-May-06 9:32
Memberabhinish3-May-06 9:32 
I have a situation in which i have to pass reference to a form at run time. The two conditions which must be followed the project are :-

1. The calling (parent) form will be dynamic and the called (child) form will be a static one.
2. The called form may return a value to the calling form.

I have studied about and also explored abt in on net but the response i m getting abt it is that, i cannot refer to parent form's properties/methods/variables from child form untill i have a reference to it and i cannt get reference of it (parent form) since its referenced on run time therefore i dont know what will be the parent form and its variables.

Sample code : -

Instance of Child form created and showed.

frmList list = new frmList();
list.frmFromName = this;
list.Show();

Passing a value via the child form instance to parent form....

public Form frmFromName=new Form();

frmFromName.nMasterId = Convert.ToInt32(dataGridView1.Rows[nRowIndex].Cells[0].Value);







abhinav
AnswerRe: changing datagridview cell Pin
Office Lineman3-May-06 12:27
MemberOffice Lineman3-May-06 12:27 
QuestionCustom Tooltips Pin
siongc3-May-06 9:15
Membersiongc3-May-06 9:15 
AnswerRe: Custom Tooltips Pin
Ravi Bhavnani3-May-06 9:45
professionalRavi Bhavnani3-May-06 9:45 
Questionautomation of excel chart generation Pin
Gollaprolu3-May-06 8:57
MemberGollaprolu3-May-06 8:57 
QuestionNeed help sending SOAP message with byte array in message Pin
jdrage3-May-06 8:44
Memberjdrage3-May-06 8:44 
Questionconverting numbers to date Pin
TheJudeDude3-May-06 8:43
MemberTheJudeDude3-May-06 8:43 
AnswerRe: converting numbers to date Pin
Ravi Bhavnani3-May-06 9:01
professionalRavi Bhavnani3-May-06 9:01 
GeneralRe: converting numbers to date Pin
TheJudeDude3-May-06 9:16
MemberTheJudeDude3-May-06 9:16 
GeneralRe: converting numbers to date Pin
Ravi Bhavnani3-May-06 9:20
professionalRavi Bhavnani3-May-06 9:20 
GeneralRe: converting numbers to date Pin
TheJudeDude3-May-06 9:25
MemberTheJudeDude3-May-06 9:25 
GeneralRe: converting numbers to date Pin
J4amieC3-May-06 22:10
MemberJ4amieC3-May-06 22:10 
QuestionCopy DBF file to MDB Pin
Bedevian3-May-06 8:18
MemberBedevian3-May-06 8:18 
QuestionProblem with Reports Pin
ventomito3-May-06 8:11
Memberventomito3-May-06 8:11 
AnswerRe: Problem with Reports Pin
ranandbe4-May-06 20:19
Memberranandbe4-May-06 20:19 
QuestionTotal Physical Memory Pin
rajith_r3-May-06 7:54
Memberrajith_r3-May-06 7:54 
AnswerRe: Total Physical Memory Pin
Ravi Bhavnani3-May-06 8:45
professionalRavi Bhavnani3-May-06 8:45 
QuestionListView Control - Insert Method Pin
xfitr23-May-06 7:36
Memberxfitr23-May-06 7:36 

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.