Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 private void Panel_Hover_MouseEnter(object sender, EventArgs e)
 {
     Com_Paient.Focus();
 }
Exemplo n.º 3
0
 private void panel3_MouseEnter(object sender, EventArgs e)
 {
     Com_Paient.Focus();
 }