Beispiel #1
0
        public Form1()
        {
            InitializeComponent();
            this.Icon = new Icon(GetType(), "Icon1.ico");
            this.Text = "OpenDNS Diagnostic v" + APP_VER;
            this.textBoxDomain.KeyDown += new KeyEventHandler(textBox_OnKeyDownHandler);
            this.textBoxTicket.KeyDown += new KeyEventHandler(textBox_OnKeyDownHandler);
            this.textBoxUserName.KeyDown += new KeyEventHandler(textBox_OnKeyDownHandler);
            AutoDetectOpenDnsUserName();
            FillAutoDetectedUserName();

            var myDelegate = new AutoUpgradeCheckDelegate(AutoUpgradeCheckBackground);
            myDelegate.BeginInvoke(null, null);
        }
Beispiel #2
0
        public Form1()
        {
            InitializeComponent();
            this.Icon = new Icon(GetType(), "Icon1.ico");
            this.Text = "OpenDNS Diagnostic v" + APP_VER;
            this.textBoxDomain.KeyDown   += new KeyEventHandler(textBox_OnKeyDownHandler);
            this.textBoxTicket.KeyDown   += new KeyEventHandler(textBox_OnKeyDownHandler);
            this.textBoxUserName.KeyDown += new KeyEventHandler(textBox_OnKeyDownHandler);
            AutoDetectOpenDnsUserName();
            FillAutoDetectedUserName();

            var myDelegate = new AutoUpgradeCheckDelegate(AutoUpgradeCheckBackground);

            myDelegate.BeginInvoke(null, null);
        }