private void tsmiCreate_Click(object sender, EventArgs e) { FormREB frm = new FormREB { MdiParent = this }; frm.Show(); }
private void tsmiOpen_Click(object sender, EventArgs e) { if (ofd.ShowDialog() == DialogResult.OK && ofd.FileName.Length > 0) { FormREB frm = new FormREB { MdiParent = this, path = ofd.FileName }; frm.Show(); } }