private void log_out_Click(object sender, EventArgs e)
        {
            this.Close();
            _2nd_frame t = new _2nd_frame();

            t.Show();
        }
示例#2
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
            _2nd_frame log = new _2nd_frame();

            log.Show();
        }
示例#3
0
        private void Teacher_home_Load(object sender, EventArgs e)
        {
            _2nd_frame fn = new _2nd_frame();

            name.Text = _2nd_frame.Getname2nd();
            //name.Visible = true;
        }
        private void Admin_home_Load(object sender, EventArgs e)
        {
            button3.Visible  = false;
            button9.Visible  = false;
            button10.Visible = false;
            button11.Visible = false;
            _2nd_frame fn = new _2nd_frame();

            name.Text = _2nd_frame.Getname2nd();
        }
        private void select_Click(object sender, EventArgs e)
        {
            Course cs = new Course();

            //if(comboBox1.SelectedItem==)
            this.Close();
            _2nd_frame fn = new _2nd_frame();
            //MessageBox.Show(_2nd_frame.Getname2nd());
            Student_course stu_c = new Student_course();

            stu_c.Show();
        }
示例#6
0
        private void Student_course_Load(object sender, EventArgs e)
        {
            string search_text = textBox1.Text;
            var    prods       = from p in db.Notes
                                 //where p.Name.Contains(search_text)
                                 select new { p.Note_Id, p.Note_link };

            DGV.DataSource = db.Notes;
            _2nd_frame fn = new _2nd_frame();

            name.Text = _2nd_frame.Getname2nd();
        }
示例#7
0
        private void Teacher_Course_Load(object sender, EventArgs e)
        {
            _2nd_frame fn = new _2nd_frame();

            label1.Text = _2nd_frame.Getname2nd();
        }
        private void Student_home_Load(object sender, EventArgs e)
        {
            _2nd_frame fn = new _2nd_frame();

            lblname.Text = _2nd_frame.Getname2nd();
        }
        private void label4_Click(object sender, EventArgs e)
        {
            _2nd_frame fn = new _2nd_frame();

            lblname.Text = _2nd_frame.Getname2nd();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            _2nd_frame Log = new _2nd_frame();

            Log.Show();
        }