예제 #1
0
        private void 房态管理ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.panel1.Controls.Clear();
            Form4_roomstate form4 = new Form4_roomstate {
                TopLevel = false, FormBorderStyle = FormBorderStyle.None
            };

            this.panel1.Controls.Add(form4);
            form4.Show();
        }
예제 #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();
         Form4_roomstate form4 = new Form4_roomstate {
             TopLevel = false, FormBorderStyle = FormBorderStyle.None
         };
         this.panel1.Controls.Add(form4);
         form4.Show();
     }
 }