private void btn_inquire_Click(object sender, EventArgs e)
        {
            Students_Inquire myform = new Students_Inquire(2);

            myform.UpDate3  += new UpDateHandle3(myform_UpDate3);
            myform.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
            myform.ShowDialog();
        }
Esempio n. 2
0
        /*     private void 新增家教信息ToolStripMenuItem_Click(object sender, EventArgs e)
         *   {
         *       Form myform = new Tutors_Add();
         *       myform.MdiParent = this;
         *       myform.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
         *       myform.Show();
         *   }*/

        private void 查询修改教员信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form myform = new Students_Inquire(1);

            myform.MdiParent = this;
            myform.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;

            myform.Show();
        }