Пример #1
0
        public Frm_Students()
        {
            if (frm == null)
            {
                frm = this;
            }

            InitializeComponent();
            Fill_DGV_Students();
            Fill_Com_Spicaliztion();
            Com_Spicaliztion.SelectedValue = 0;
        }
        private void ToolMS_Students_Click(object sender, EventArgs e)
        {
            Panel_Frm.Controls.Clear();

            Frm_Students student = new Frm_Students();

            student.TopLevel = false;

            Panel_Frm.Controls.Add(student);

            student.Show();
        }
 static void frm_FormClosed(object sender, FormClosedEventArgs e)
 {
     frm = null;
 }
Пример #4
0
        private void RText_Paid_KeyPress(object sender, KeyPressEventArgs e)
        {
            Frm_Students student = new Frm_Students();

            student.OnlyNumber(e);
        }