Example #1
0
        public PathologyStatus()
        {
            string user = MainWindow.userName;

            InitializeComponent();
            aDoctorWisePatientManager = new DoctorWisePatientManager();
        }
Example #2
0
        public ConsultantPayment()
        {
            string user = MainWindow.userName;

            InitializeComponent();
            aDoctorWisePatientManager = new DoctorWisePatientManager();
        }
        public ComssionStauts()
        {
            string user = MainWindow.userName;

            InitializeComponent();
            aDoctorWisePatientManager = new DoctorWisePatientManager();
        }
Example #4
0
        private void simpleButton3_Click(object sender, EventArgs e)
        {
            DAL.Model.Pathology saveService = new DAL.Model.Pathology();
            saveService.VoucherNo = txtVoucherNo.Text;
            MessageModel message = new DoctorWisePatientManager().DeletePathologyPayment(saveService);

            MessageBox.Show(message.MessageBody, message.MessageTitle, MessageBoxButtons.OK, MessageBoxIcon.Information);
            Clear();
        }
        private void simpleButton3_Click(object sender, EventArgs e)
        {
            Comission saveService = new Comission();

            saveService.CommissionId = txtCommissionID.Text;
            MessageModel message = new DoctorWisePatientManager().DeleteCommission(saveService);

            MessageBox.Show(message.MessageBody, message.MessageTitle, MessageBoxButtons.OK, MessageBoxIcon.Information);
            Clear();
        }
Example #6
0
        private void simpleButton4_Click(object sender, EventArgs e)
        {
            DAL.Model.Pathology saveService = new DAL.Model.Pathology();
            saveService.VoucherNo   = txtVoucherNo.Text;
            saveService.Particulars = pathology;
            saveService.Date        = datePathology.Value;
            saveService.Description = txtDescription.Text;
            saveService.Inword      = lblInward.Text;
            saveService.Amount      = Convert.ToDecimal(txtTotalAmount.Text);
            saveService.UserId      = MainWindow.userName;
            MessageModel message = new DoctorWisePatientManager().UpdatePathologyPayment(saveService);

            MessageBox.Show(message.MessageBody, message.MessageTitle, MessageBoxButtons.OK, MessageBoxIcon.Information);
            Clear();
        }
        private void simpleButton4_Click(object sender, EventArgs e)
        {
            Comission saveService = new Comission();

            saveService.CommissionId = txtCommissionID.Text;
            saveService.ReffId       = Reff;
            saveService.Date         = dateCommission.Value;
            saveService.Remarks      = txtRemarks.Text;
            saveService.Inword       = lblInward.Text;
            saveService.Amount       = Convert.ToDecimal(txtTotalAmount.Text);
            saveService.UserId       = MainWindow.userName;
            saveService.Status       = Chk;
            MessageModel message = new DoctorWisePatientManager().UpdateCommission(saveService);

            MessageBox.Show(message.MessageBody, message.MessageTitle, MessageBoxButtons.OK, MessageBoxIcon.Information);
            Clear();
        }
 public DueBillStatus()
 {
     InitializeComponent();
     aDoctorWisePatientManager = new DoctorWisePatientManager();
 }
Example #9
0
 public DoctorWisePatient_IP()
 {
     InitializeComponent();
     aDoctorWisePatientManager = new DoctorWisePatientManager();
 }