private void Btn_Reset_Click(object sender, EventArgs e) { Com_Paient.DropDownStyle = ComboBoxStyle.DropDown; Btn_AddVisits.Enabled = true; Btn_Update.Enabled = false; CheckofOldvisit = 0; Btn_Symptoms.Enabled = false; Enable_Btn_Add_Chronic = true; Com_Paient.ForeColor = Color.Gray; Com_Doctors.ForeColor = Color.Gray; Com_Paient.Text = "اختيار"; Com_Paient.Focus(); Com_Doctors.Text = "اختيار"; LabCount.Text = "0"; RText_Treatment.ResetText(); RText_Implement.ResetText(); RText_TotalPaid.ResetText(); RText_Symptoms.ResetText(); RText_Approximate.ResetText(); RText_Balance.ResetText(); DGV_Visits.ClearSelection(); }
private void VisitsForm_Load(object sender, EventArgs e) { Com_Paient.ResetText(); Com_Paient.ForeColor = Color.Gray; Com_Paient.Text = "اختيار"; Com_Doctors.ResetText(); Com_Doctors.ForeColor = Color.Gray; Com_Doctors.Text = "اختيار"; DGV_Visits.ClearSelection(); }
private void Appointment_Load(object sender, EventArgs e) { Com_Paient.ResetText(); Com_Paient.ForeColor = Color.Gray; Com_Paient.Text = "اختيار"; Com_Paient.Focus(); Com_Doctors.ResetText(); Com_Doctors.ForeColor = Color.Gray; Com_Doctors.Text = "اختيار"; DGV_Appointment.ClearSelection(); DTP_history.MinDate = Convert.ToDateTime(DateTime.Now.ToString("dd / MM / yyyy")); timer1.Start(); }
private void Btn_New_Click(object sender, EventArgs e) { Com_Paient.DropDownStyle = ComboBoxStyle.DropDown; Btn_Add.Enabled = true; Btn_Update.Enabled = false; Com_Paient.ForeColor = Color.Gray; Com_Doctors.ForeColor = Color.Gray; Com_Paient.Text = "اختيار"; Com_Paient.Focus(); Com_Doctors.Text = "اختيار"; Com_Type.Text = "اختيار"; DTP_time.Value = Convert.ToDateTime(DateTime.Now); DTP_history.MinDate = Convert.ToDateTime(DateTime.Now.ToString("dd / MM / yyyy")); DTP_history.Value = Convert.ToDateTime(DateTime.Now); RBtn_Wait.Checked = true; RBtn_Finished.Checked = false; DGV_Appointment.ClearSelection(); }
private void Panel_Hover_MouseEnter(object sender, EventArgs e) { Com_Paient.Focus(); }
private void panel3_MouseEnter(object sender, EventArgs e) { Com_Paient.Focus(); }