コード例 #1
0
 public void CreatePopupForm()
 {
     if (SelectionPopupForm == null)
     {
         _showPropsButton.Enabled = false;
         SelectionPopupForm       = new SelectionPopupForm(PopupFormClosing);
         SelectionPopupForm.Show();
     }
 }
コード例 #2
0
 public void Dispose()
 {
     if (SelectionPopupForm != null)
     {
         SelectionPopupForm.Close();
         SettingsManager.GetRef().GuiSettings.ShowProperties = true;
     }
     else
     {
         SettingsManager.GetRef().GuiSettings.ShowProperties = false;
     }
     SelectionPopupForm = null;
 }