Beispiel #1
0
        public ExtensionsManager()
        {
            Instance = this;
            InitializeComponent();

            this.dataGridView1.ReadOnly           = true;
            this.dataGridView1.AllowUserToAddRows = false;

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