I Create Mdi Parent form and I Call Mdi parent Inside of Mdi Child Form at i give some String input on Child Form.How Can i Pass String Values Child to Parent Form. I need Pass Only Values But Not Parent Form Load Event.
//Parent MAIN FORM private void othersToolStripMenuItem_Click(object sender, EventArgs e) { OthersFrm other = new OthersFrm(); other.MdiParent = this; other.StartPosition = FormStartPosition.Manual; // other.Size = this.ClientSize; other.Location = new System.Drawing.Point(134, 52); //other.Size = new System.Drawing.Size(784, 529); other.Show(); }
//Child OTHERS Form private void btnsave_Click(object sender, EventArgs e) { //objDO.proc = textBox9.Text; objDO.compan = txtFCdesc.Text; this.Hide(); MAIN ma = new MAIN(); // ma.MdiParent = this; ma.Show(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)