private void czytelnikaToolStripMenuItem_Click(object sender, EventArgs e) { ReaderForm reader = new ReaderForm(); reader.MdiParent = this; reader.Show(); }
private void button2_Click(object sender, EventArgs e) { ReaderForm reader = new ReaderForm(); reader.MdiParent = this.ParentForm; reader.Show(); }
private void button3_Click(object sender, EventArgs e) { foreach (DataGridViewRow row in this.dataGridView1.SelectedRows) { Reader reader = row.DataBoundItem as Reader; if (reader != null) { ReaderForm readerForm = new ReaderForm(reader); readerForm.MdiParent = this.ParentForm; readerForm.Show(); } } }