예제 #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();
         }
     }
 }