Ejemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            DialogResult r1 = MessageBox.Show("是否选择账号" + selectedaccount + "进行业务办理操作", "确认", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

            if (r1.ToString() == "Yes")
            {
                Account accountfrommf1 = new Account();
                accountfrommf1.Accid    = selectedaccount;
                accountfrommf1.Username = this.u1.Username;
                MainFrame2 m2 = new MainFrame2(accountfrommf1, this);
                this.Hide();
                m2.Show();
            }
            else
            {
                return;
            }
            this.Visible = false;
        }
Ejemplo n.º 2
0
 private void button14_Click_1(object sender, EventArgs e)
 {
     this.Close();
     _mainform2.Show();
 }