private void 退房登记ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.panel1.Controls.Clear();
            Form3_checkout form3 = new Form3_checkout {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None
            };

            this.panel1.Controls.Add(form3);
            form3.Show();
        }
Exemple #2
0
 private void 退房登记ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Program.currentId == "")
     {
         MessageBox.Show("请先登录", "提示");
     }
     else
     {
         changestyle();
         BackgroundImage = Properties.Resources.big;
         this.panel1.Controls.Clear();
         Form3_checkout form3 = new Form3_checkout {
             TopLevel = false, FormBorderStyle = FormBorderStyle.None
         };
         this.panel1.Controls.Add(form3);
         form3.Show();
     }
 }
 public checkoutConfirm(Form3_checkout form3)
 {
     InitializeComponent();
     f3 = form3;
 }