Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Control_Screen CS = (Control_Screen)this.ParentForm;

            StartTimeTK.Interval = 1;
            StartTimeTK.Start();

            CS.TIQUETBtn.Image = Properties.Resources.icons8_purchase_order_50px;
            Hide();
        }
Beispiel #2
0
        private void StartTimeTK_Tick(object sender, EventArgs e)
        {
            Control_Screen CS = (Control_Screen)this.ParentForm;

            CS.LEFTBar.Size = new Size(CS.LEFTBar.Width + 20, CS.LEFTBar.Height);
            if (CS.LEFTBar.Width >= 245)
            {
                CS.LEFTBar.Width = 245;
                StartTimeTK.Stop();
            }
        }