Esempio n. 1
0
 public MainForm()
 {
     InitializeComponent();
     asf = new AutoSizeForm();
     this.dateTimePickerStartOff.CustomFormat = "yyyy-MM-dd";
     httpReqProc = new HttpRequestProcess();
     this.comboBoxStartStation.Items.Add("BJP");
     this.comboBoxStartStation.SelectedIndex = 0;
     this.comboBoxEndStation.Items.Add("WHN");
     this.comboBoxEndStation.SelectedIndex = 0;
 }
Esempio n. 2
0
 public LoginForm()
 {
     InitializeComponent();
     if (loadLoginInfo() == true)
     {
         this.checkBoxRemember.Checked = true;
     }
     clickPoints = new List <CPoint>();
     tagImg      = null;
     httpReqProc = new HttpRequestProcess();
     random      = new Random();
     beforeLogin();
 }