Exemplo n.º 1
0
 private void button_editmode_Click(object sender, EventArgs e)
 {
     if (isCreateMenu == 3)
     {
         if (RoomMaker.hasIntersect())
         {
             MessageBox.Show("Intersection이 존재합니다.");
             return;
         }
         button_editmode.BackColor = Color.AliceBlue;
         Cursor.Current            = Cursors.Default;
         selected_room             = null;
         isCreateMenu = 0;
         panel_createroom_menu.Width = 0;
     }
     else
     {
         button_editmode.BackColor = Color.LightGray;
         isCreateMenu                = 3;
         label_status.Text           = "Edit Mode";
         isRect                      = false;
         Cursor.Current              = Cursors.Hand;
         panel_createroom_menu.Width = 0;
     }
 }