コード例 #1
0
ファイル: Home.cs プロジェクト: SethBorder/AOOPProject
        private void button6_Click(object sender, EventArgs e)
        {
            FacultyHome facultyWindow = new FacultyHome(User, this);

            facultyWindow.Show();
            this.Hide();
        }
コード例 #2
0
        private void button7_Click(object sender, EventArgs e)
        {
            userstruct facultyToView = new userstruct();

            facultyToView.username = listBox1.SelectedItem.ToString();

            FacultyHome facultyWindow = new FacultyHome(facultyToView, this, true);

            facultyWindow.Show();
            this.Hide();
        }