//对话框载入 private void SeatForm_Load(object sender, EventArgs e) { BathClass.change_input_en(); year.Text = m_date.Year.ToString(); month.Text = m_date.Month.ToString().PadLeft(2, '0'); current_box = year; }
//对话框载入 private void PayForm_Load(object sender, EventArgs e) { dao = new DAO(LogIn.connectionString); BathClass.change_input_en(); watch = MConvert <bool> .ToTypeOrDefault(LogIn.options.启用结账监控, false); moneyPayable.Text = m_money.ToString(); changes.Text = (-m_money).ToString(); now = BathClass.Now(LogIn.connectionString); }
//对话框载入 private void LogIn_Load(object sender, EventArgs e) { BathClass.change_input_en(); //form_load_func(); //Thread td = new Thread(new ThreadStart(form_load)); //td.IsBackground = true; //td.Start(); form_load_func(); }
//对话框载入 private void PayForm_Load(object sender, EventArgs e) { BathClass.change_input_en(); watch = BathClass.ToBool(db.Options.FirstOrDefault().启用结账监控); m_money = BathClass.get_rooms_expenses(db, m_Seats, LogIn.connectionString); moneyPayable.Text = m_money.ToString(); changes.Text = (-m_money).ToString(); for (int i = 0; i < m_Seats.Count; i++) { if (m_keeps[i]) { continue; } m_Seats_Real.Add(m_Seats[i]); } //money_real = BathClass.get_seats_expenses(m_Seats_Real, LogIn.connectionString); }
private void id_Enter(object sender, EventArgs e) { BathClass.change_input_en(); }
private void TextMsgStart_Enter(object sender, EventArgs e) { BathClass.change_input_en(); }
private void box_Enter(object sender, EventArgs e) { BathClass.change_input_en(); current_box = sender as Control; }
private void seatBox_Enter(object sender, EventArgs e) { BathClass.change_input_en(); rBtnSeat.Checked = true; }