コード例 #1
0
        public PathologyStatus()
        {
            string user = MainWindow.userName;

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

            InitializeComponent();
            aDoctorWisePatientManager = new DoctorWisePatientManager();
        }
コード例 #3
0
        public ComssionStauts()
        {
            string user = MainWindow.userName;

            InitializeComponent();
            aDoctorWisePatientManager = new DoctorWisePatientManager();
        }
コード例 #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();
        }
コード例 #5
0
        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();
        }
コード例 #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();
        }
コード例 #7
0
        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();
        }
コード例 #8
0
 public DueBillStatus()
 {
     InitializeComponent();
     aDoctorWisePatientManager = new DoctorWisePatientManager();
 }
コード例 #9
0
 public DoctorWisePatient_IP()
 {
     InitializeComponent();
     aDoctorWisePatientManager = new DoctorWisePatientManager();
 }