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

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

            ShowContent();
        }
예제 #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;
     }
 }
예제 #3
0
 protected override void OnFormClosed(System.Windows.Forms.FormClosedEventArgs e)
 {
     base.OnFormClosed(e);
     Instance = null;
 }