Example #1
0
 protected override void OnClick()
 {
     #region
     try
     {
         EditOwnShip eos = new EditOwnShip()
         {
             WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen
         };
         if (eos.ShowDialog() == true)
         {
             CommonMethod.SetShipAngle();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
     #endregion
 }