예제 #1
0
        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();
        }
예제 #2
0
        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();
        }
예제 #3
0
        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();
        }
예제 #4
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();
        }
예제 #5
0
 private void Panel_Hover_MouseEnter(object sender, EventArgs e)
 {
     Com_Paient.Focus();
 }
예제 #6
0
 private void panel3_MouseEnter(object sender, EventArgs e)
 {
     Com_Paient.Focus();
 }