コード例 #1
0
        private void Button1_Click(object sender, EventArgs e)
        {
            var rpf = new RecentQuestions(user);

            rpf.Show();
            this.Close();
        }
コード例 #2
0
        private void Recentquestionsbtn_Click_1(object sender, EventArgs e)
        {
            var rpF = new RecentQuestions(user);

            rpF.Show();
            this.Close();
        }
コード例 #3
0
        private void Recentquestionsbtn_Click(object sender, EventArgs e)
        {
            var rpf = new RecentQuestions(userData);

            rpf.Show();
            this.Close();
        }
コード例 #4
0
        void button_click(object sender, EventArgs e)
        {
            var btn = sender as Button;
            var rpf = new RecentQuestions(user);

            this.Close();
            rpf.Show();
        }
コード例 #5
0
        private void SaveBtn_Click(object sender, EventArgs e, List <Question> questionList)
        {
            var profileDB = new ProfileDB();

            profileDB.db.InsertIntoQuestions(new Question(0, 0, 0, 0, questiontxt.Text, questiontxt.Text, DateTime.Now, user.userID));

            var rpf = new RecentQuestions(user);

            rpf.Show();
            this.Close();
        }
コード例 #6
0
ファイル: Login.cs プロジェクト: kvinkleris/StudentForYou
        private void Button2_Click(object sender, EventArgs e)
        {
            var vuLogin = new vuLoginForm();

            vuLogin.ShowDialog();
            if (vuLogin.isOK)
            {
                var rpf = new RecentQuestions(vuLogin.user);
                rpf.Show();
                this.Hide();
            }
            else
            {
                MessageBox.Show("Please complete your login", "Bad Login", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }