Beispiel #1
0
        public Form1()
        {
            InitializeComponent();
            this.Resize                 += new EventHandler(Form1_Resize);
            notifyIcon1.DoubleClick     += new EventHandler(notifyIcon1_DoubleClick);
            notifyIcon1.ContextMenuStrip = contextMenuStrip1;
            ConfigLoader cfg = new ConfigLoader();

            //FIXME need some kind of configuration tool for this
            ss = cfg.GetSSProxy(cfg.SSurls[0], "fgsmsadmin", "", null);
            t  = new Thread(new ThreadStart(getStatusData));
            t.Start();
            this.FormClosing  += new FormClosingEventHandler(Form1_FormClosing);
            listBox1.DrawItem += new DrawItemEventHandler(listBox1_DrawItem);
        }