Пример #1
0
        private void MainForm_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.F5)
            {
                ReloadButton.PerformClick();
            }

            if (e.KeyCode == Keys.L && e.Modifiers == Keys.Shift)
            {
                Columns    = new List <string>();
                Values     = new Dictionary <string, Dictionary <string, bool> >();
                HiddenRows = new HashSet <int>();

                FiltersButton.Enabled = false;
                ReloadButton.Enabled  = false;

                SelectFile();
                Settings = new SettingsController(this);
                ApplySettings();
            }
        }
Пример #2
0
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     ProcessListView.SmallImageList = new ImageList();
     ReloadButton.PerformClick();
 }