示例#1
0
        private void czytelnikaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ReaderForm reader = new ReaderForm();

            reader.MdiParent = this;
            reader.Show();
        }
示例#2
0
        private void button2_Click(object sender, EventArgs e)
        {
            ReaderForm reader = new ReaderForm();

            reader.MdiParent = this.ParentForm;
            reader.Show();
        }
示例#3
0
 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();
         }
     }
 }