コード例 #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;
 }