Beispiel #1
0
        public Form_open(Form_car_number f, Form_operator form_operator_new)
        {
            user          = new Terminal.DataSet1TableAdapters.UserQuerry1TableAdapter();
            frm           = f;
            form_operator = form_operator_new;
            form_operator.add_open(this);
            form_user_info = new Form_user_info();
            InitializeComponent();
            label_name.ForeColor    = Color.Green;
            label_name.Font         = new Font("label_name", 15);
            label_balance.ForeColor = Color.Green;
            label_balance.Font      = new Font("label_name", 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();
        }
 public Form_open(Form_car_number f, Form_operator form_operator_new)
 {
     user = new Terminal.DataSet1TableAdapters.UserQuerry1TableAdapter();
     frm = f;
     form_operator = form_operator_new;
     form_operator.add_open(this);
     form_user_info = new Form_user_info();
     InitializeComponent();
     label_name.ForeColor = Color.Green;
     label_name.Font = new Font("label_name", 15);
     label_balance.ForeColor = Color.Green;
     label_balance.Font = new Font("label_name", 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();
 }
 private void button_user_info_Click(object sender, EventArgs e)
 {
     form_info = new Form_user_info();
     form_info.Show();
 }
Beispiel #4
0
 private void button_user_info_Click(object sender, EventArgs e)
 {
     form_info = new Form_user_info();
     form_info.Show();
 }