Exemplo n.º 1
0
 public Appointment_Information()
 {
     InitializeComponent();
     control_object           = new Receptionist_Controller();
     dataGridView1.DataSource = control_object.View_appointment();
     dataGridView1.Refresh();
 }
 public Reciptionist(int id)
 {
     InitializeComponent();
     control_object  = new Login_Controller();
     control_object2 = new Receptionist_Controller();
     label1.Text     = "Welcome MS." + control_object.Employee_fname(id);
 }
        public Update_appointment()
        {
            InitializeComponent();
            control_object = new Receptionist_Controller();
            DataTable dt = control_object.doctors_names();

            comboBox1.DataSource    = dt;
            comboBox1.DisplayMember = "Name";
            comboBox1.ValueMember   = "User_name";
        }
        public Choose_Doctor(View_Strategy s)
        {
            InitializeComponent();
            control_object = new Receptionist_Controller();
            strategy       = s;
            DataTable dt = control_object.doctors_names();

            comboBox1.DataSource    = dt;
            comboBox1.DisplayMember = "Name";
            comboBox1.ValueMember   = "User_name";
        }
Exemplo n.º 5
0
        public Add_new_Appointment()
        {
            InitializeComponent();
            control_object  = new Receptionist_Controller();
            control_object2 = new Doctor_controller();
            DataTable dt = control_object.get_major();

            comboBox3.DataSource    = dt;
            comboBox3.DisplayMember = "Major";
            comboBox3.ValueMember   = "Major";
            radioButton3.Checked    = true;
        }
Exemplo n.º 6
0
        public Past_patient(int id)
        {
            InitializeComponent();
            control_object   = new Receptionist_Controller();
            patient_id       = id;
            textBox1.Enabled = false;
            DataTable dt = control_object.get_major();

            comboBox1.DataSource    = dt;
            comboBox1.DisplayMember = "Major";
            comboBox1.ValueMember   = "Major";
            textBox1.Text           = control_object.patient_name(id);
        }
Exemplo n.º 7
0
 public Information_Strategy()
 {
     control_object = new Receptionist_Controller();
 }
Exemplo n.º 8
0
 public Schedule_view_strategy()
 {
     control_object = new Receptionist_Controller();
 }