Esempio n. 1
0
        public ShortCutSetting()
        {
            Instance = this;

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