Ejemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();
            characterHelper = new CharacterHandler();
            Resize         += ImportStatusForm_Resize;

            notifyIcon.DoubleClick    += notifyIcon_MouseDoubleClick;
            notifyIcon.BalloonTipIcon  = ToolTipIcon.Info;
            notifyIcon.BalloonTipTitle = "Minimize to tray";
            notifyIcon.BalloonTipText  = "You can still access application by doubleclicking this icon";
            notifyIcon.Icon            = Icon;

            startHandler = new HotkeyHandler(Constants.NOMOD, Keys.F5, this);
            stopHandler  = new HotkeyHandler(Constants.NOMOD, Keys.F6, this);
        }
Ejemplo n.º 2
0
 int selectedIndex = -1; //Will hold the selected item, we need to do work accordingly. Invalid at default. Multiselect is disabled.
 public MainForm()
 {
     InitializeComponent();
     characterHelper = new CharacterHandler();
 }