コード例 #1
0
 private void ElementSelectionSandBox_FormClosed(object sender, FormClosedEventArgs e)
 {
     MyHallSandBox.Close();
     if (ThereIsServer.GameObjects.MyProfile.ThePlayerElement != PlayerElement.NotSet)
     {
         if (!ThereIsConstants.Forming.GameClient.Enabled)
         {
             ThereIsConstants.Forming.GameClient.Enabled = true;
         }
         ThereIsConstants.Forming.GameClient.Focus();
     }
     else
     {
         ThereIsConstants.AppSettings.GameClient.Close();
     }
 }
コード例 #2
0
 private void FirstStoryLineSandBox_FormClosed(object sender, FormClosedEventArgs e)
 {
     MyHallSandBox.Close();
     if (MessageLabel1.CurrentStatus == 0)
     {
         if (!ThereIsConstants.Forming.GameClient.Enabled)
         {
             ThereIsConstants.Forming.GameClient.Enabled = true;
             ThereIsConstants.Forming.GameClient.ShowKojiEmpire();
         }
         ThereIsConstants.Forming.GameClient.Focus();
     }
     else
     {
         ThereIsConstants.AppSettings.GameClient.Close();
     }
 }