Esempio n. 1
0
        private void 房间设置ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.panel1.Controls.Clear();
            Form6_roomset1 form61 = new Form6_roomset1 {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None
            };

            this.panel1.Controls.Add(form61);
            form61.Show();
        }
Esempio n. 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();
         Form6_roomset1 form61 = new Form6_roomset1 {
             TopLevel = false, FormBorderStyle = FormBorderStyle.None
         };
         this.panel1.Controls.Add(form61);
         form61.Show();
     }
 }