Example #1
0
        private void btnCreateRooms_Click(object sender, EventArgs e)
        {
            if (ExamVedId == null)
            {
                return;
            }

            ExamsVedRoomCard p = new ExamsVedRoomCard(this, ExamVedId);

            p.Show();
        }
Example #2
0
        //изменение - только для супер
        private void btnChange_Click(object sender, EventArgs e)
        {
            if (ExamVedId == null || ExamVedRoomId == null)
            {
                return;
            }

            if (MainClass.IsFacMain() || MainClass.IsPasha())
            {
                ExamsVedRoomCard p = new ExamsVedRoomCard(this, ExamVedId, ExamVedRoomId);
                p.Show();
            }
        }