Example #1
0
 static void OnOpenView()
 {
     if (Instance == null)
     {
         Instance         = new ObjectView();
         Instance.TabText = "ObjectView";
         Instance.Show(Center.Form.DockerContainer, DockState.Float);
     }
     else
     {
         Instance.Hide();
         Instance.Dispose();
         Instance = null;
     }
 }
Example #2
0
        protected override void OnFormClosed(System.Windows.Forms.FormClosedEventArgs e)
        {
            base.OnFormClosed(e);

            Instance = null;
        }
Example #3
0
 public ObjectView()
 {
     Instance = this;
     InitializeComponent();
 }