Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(textBox1.Text))
            {
                Status("You must enter an ID to fetch.", infoBox, 2); return;
            }

            //CDKP blah = new CDKP(textBox1.Text);
            CDKP.init(textBox1.Text);
        }
Exemple #2
0
        public Form1()
        {
            InitializeComponent();
            this.Icon = IncisionDKP.Properties.Resources.moose;
            infoBox   = label2;

            Timer1.Elapsed += (s, e) =>
            {
                if (CDKP.reportReady)
                {
                    CDKP.reportReady = false;
                    CDKP.FindUserEncouters("heavendust");
                }
            };
            Timer1.AutoReset = true;
            Timer1.Enabled   = true;
        }