Пример #1
0
        public VoxVisio()
        {
            InitializeComponent();

            this.component = new Container();
            // Create the NotifyIcon.
            notifyicon = new NotifyIcon(component);
            notifyicon.MouseDoubleClick += notifyIcon_MouseDoubleClick;

            // The Icon property sets the icon that will appear
            // in the systray for this application.
            Icon icon = Resources.favicon;

            notifyicon.Icon = icon;


            // The Text property sets the text that will be displayed,
            // in a tooltip, when the mouse hovers over the systray icon.
            notifyicon.Text = "VoxVisio";

            this.Resize += frmMain_Resize;

            mainEngine    = new MainEngine();
            _settingsList = SettingsSingleton.Instance();
            populateList();
        }
Пример #2
0
        public VoxVisio()
        {
            InitializeComponent();

            this.component = new Container();
            // Create the NotifyIcon.
            notifyicon = new NotifyIcon(component);
            notifyicon.MouseDoubleClick += notifyIcon_MouseDoubleClick;

            // The Icon property sets the icon that will appear
            // in the systray for this application.
            Icon icon = Resources.favicon;
            notifyicon.Icon = icon;

            // The Text property sets the text that will be displayed,
            // in a tooltip, when the mouse hovers over the systray icon.
            notifyicon.Text = "VoxVisio";

            this.Resize += frmMain_Resize;

            mainEngine = new MainEngine();
            _settingsList = SettingsSingleton.Instance();
            populateList();
        }