Пример #1
0
        private void ChartForm_KeyDown(object sender, KeyEventArgs e)
        {
            Keys keys1 = e.KeyCode;

            if (keys1 != Keys.Escape)
            {
                switch (keys1)
                {
                case Keys.Prior:
                {
                    ListForm.Current.ShowNextChart(-1);
                    e.Handled = true;
                    return;
                }

                case Keys.Next:
                {
                    ListForm.Current.ShowNextChart(1);
                    e.Handled = true;
                    return;
                }
                }
            }
            else
            {
                ListForm.ShowForm();
                e.Handled = true;
            }
        }
Пример #2
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     try
     {
         PluginManager.Load(Environment.CurrentDirectory + @"\Plugins\");
         PluginManager.OnPluginChanged += new FileSystemEventHandler(this.OnPluginChange);
         ListForm.ShowForm(this);
         SymbolForm.AddFolder();
         tmShareware.Enabled = true;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message + ex.InnerException.Message);
     }
 }
Пример #3
0
 public static void ShowForm()
 {
     ListForm.ShowForm(null);
 }