Ejemplo n.º 1
0
        /// <summary>
        /// добавить
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            AddReader addReader = new AddReader();

            addReader.MdiParent = this.MdiParent;
            addReader.Show();
        }
Ejemplo n.º 2
0
 private void добавитьНовогоToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (reader == null)
     {
         AddReader NewReader = new AddReader();
         NewReader.MdiParent   = this;
         NewReader.FormClosed += new FormClosedEventHandler(NewReader_FormClosed);
         NewReader.Show();
     }
 }
Ejemplo n.º 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            AddReader subForm = new AddReader();

            subForm.Show();
        }
Ejemplo n.º 4
0
 void NewReader_FormClosed(object sender, EventArgs e)
 {
     reader = null;
     Student.Save();
 }