public Form_final(Form_close f, Form_operator form_operator_new)
        {
            user = new DataSet1TableAdapters.UserQuerry1TableAdapter();
            InitializeComponent();
            frm = f;
            form_operator = form_operator_new;
            form_operator.add_final(this);
            userInfo = new DataSet1TableAdapters.UserInfoTableAdapter();
            label_final.ForeColor = Color.Green;
            label_final.Font = new Font("label_final", 20);

            label_time.ForeColor = Color.Green;
            label_time.Font = new Font("label_time", 15);

            label_getmoney.ForeColor = Color.Green;
            label_getmoney.Font = new Font("label_getmoney", 15);

            label_balance.ForeColor = Color.Green;
            label_balance.Font = new Font("label_balance", 15);
            Opacity = 0;
            Timer timer = new Timer();
            timer.Tick += new EventHandler((sender, e) =>
            {
                if ((Opacity += 0.08d) >= 1) timer.Stop();
            });
            timer.Interval = 5;
            timer.Start();
        }
Exemple #2
0
        public Form_final(Form_close f, Form_operator form_operator_new)
        {
            user = new DataSet1TableAdapters.UserQuerry1TableAdapter();
            InitializeComponent();
            frm           = f;
            form_operator = form_operator_new;
            form_operator.add_final(this);
            userInfo = new DataSet1TableAdapters.UserInfoTableAdapter();
            label_final.ForeColor = Color.Green;
            label_final.Font      = new Font("label_final", 20);

            label_time.ForeColor = Color.Green;
            label_time.Font      = new Font("label_time", 15);

            label_getmoney.ForeColor = Color.Green;
            label_getmoney.Font      = new Font("label_getmoney", 15);

            label_balance.ForeColor = Color.Green;
            label_balance.Font      = new Font("label_balance", 15);
            Opacity = 0;
            Timer timer = new Timer();

            timer.Tick += new EventHandler((sender, e) =>
            {
                if ((Opacity += 0.08d) >= 1)
                {
                    timer.Stop();
                }
            });
            timer.Interval = 5;
            timer.Start();
        }
Exemple #3
0
        private void Form_operator_Load(object sender, EventArgs e)
        {
            test          = new Test(this);
            this.Location = new Point((screen.X / 2) - (this.Width / 2), (screen.Y / 2) - (this.Height / 2) - 150);

            form2 = new Form_car_number(this);
            form2.Show();
            formC = new Form_close(this);
            formC.Show();
            L = new Log(this);
            L.Show();
            textBox_price.Text = price.GetData().Rows[0]["price"].ToString();
            Price.changePrice(double.Parse(textBox_price.Text));
        }
 public Form_Error(Form_close f, string tryS)
 {
     InitializeComponent();
     frmC = f;
     label_no.ForeColor = Color.Red;
     label_no.Font = new Font("label_no", 30);
     lab = tryS;
     Opacity = 0;
     Timer timer = new Timer();
     timer.Tick += new EventHandler((sender, e) =>
     {
         if ((Opacity += 0.08d) == 1) timer.Stop();
     });
     timer.Interval = 5;
     timer.Start();
 }
Exemple #5
0
        public Form_Error(Form_close f, string tryS)
        {
            InitializeComponent();
            frmC = f;
            label_no.ForeColor = Color.Red;
            label_no.Font      = new Font("label_no", 30);
            lab     = tryS;
            Opacity = 0;
            Timer timer = new Timer();

            timer.Tick += new EventHandler((sender, e) =>
            {
                if ((Opacity += 0.08d) == 1)
                {
                    timer.Stop();
                }
            });
            timer.Interval = 5;
            timer.Start();
        }
 private void label_money_Click(object sender, EventArgs e)
 {
     formC = new Form_close(this);
     formC.Show();
 }
        private void Form_operator_Load(object sender, EventArgs e)
        {
            test = new Test(this);
            this.Location = new Point((screen.X / 2) - (this.Width / 2), (screen.Y / 2) - (this.Height / 2) - 150);

            form2 = new Form_car_number(this);
            form2.Show();
            formC = new Form_close(this);
            formC.Show();
            L = new Log(this);
            L.Show();
            textBox_price.Text = price.GetData().Rows[0]["price"].ToString();
            Price.changePrice(double.Parse(textBox_price.Text));
        }
Exemple #8
0
 private void label_money_Click(object sender, EventArgs e)
 {
     formC = new Form_close(this);
     formC.Show();
 }