Exemple #1
0
        public ShortCutSetting()
        {
            Instance = this;

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