Example #1
0
        private void ExpencesForm_Load(object sender, EventArgs e)
        {
            expencesObj = new AlexLabBL.ExpencesClass();
            safeObj     = new AlexLabBL.SafeClass();

            gridControl1.DataSource = AlexLabBL.MainClass.getExpences();
            lookUpExpencesType.Properties.DataSource = AlexLabBL.MainClass.getExpencesType();
        }
Example #2
0
        private void SafeForm_Load(object sender, EventArgs e)
        {
            safeObj = new AlexLabBL.SafeClass();

            gridControl1.DataSource = AlexLabBL.MainClass.getSafes();

            TxtSaveCurrentValue.Text = AlexLabBL.MainClass.getSafeCurrentValue().ToString();
        }
Example #3
0
        private void PaymentForm_Load(object sender, EventArgs e)
        {
            courseObj = new AlexLabBL.PaymentClass();
            safeObj   = new AlexLabBL.SafeClass();

            gridControl1.DataSource = AlexLabBL.MainClass.getPayment();
            lookUpPaymentType.Properties.DataSource = AlexLabBL.MainClass.getPaymentType();
            lookUpPaymentType.EditValue             = 3;
        }
        private void WorkSpaceForm_Load(object sender, EventArgs e)
        {
            courseObj = new AlexLabBL.PaymentClass();
            safeObj   = new AlexLabBL.SafeClass();

            LookUpClient.Properties.DataSource      = AlexLabBL.MainClass.getClientsWorkSpace();
            lookUpPaymentType.Properties.DataSource = AlexLabBL.MainClass.getPaymentType();
            lookUpPaymentType.EditValue             = 2;

            gridControl1.DataSource = AlexLabBL.MainClass.getPaymentByClient();
        }
        public CoursePaymentForm()
        {
            InitializeComponent();

            courseObj = new AlexLabBL.PaymentClass();
            safeObj   = new AlexLabBL.SafeClass();

            lookUpCourse.Properties.DataSource      = AlexLabBL.MainClass.getCourses();
            lookUpPaymentType.Properties.DataSource = AlexLabBL.MainClass.getPaymentType();
            lookUpPaymentType.EditValue             = 1;

            gridControl1.DataSource = AlexLabBL.MainClass.getPaymentByCourse();
        }
        public CoursePaymentForm(int appointmentId)
        {
            InitializeComponent();

            courseObj = new AlexLabBL.PaymentClass();
            safeObj   = new AlexLabBL.SafeClass();

            lookUpCourse.Properties.DataSource      = AlexLabBL.MainClass.getCourses();
            lookUpPaymentType.Properties.DataSource = AlexLabBL.MainClass.getPaymentType();
            lookUpPaymentType.EditValue             = 1;
            lookUpCourse.EditValue = appointmentId;

            lookUpCourse.Enabled            = false;
            isSingleAppointment             = true;
            appointmentID                   = appointmentId;
            CustomAppointmentForm.PaidMoney = 0;

            gridControl1.DataSource = AlexLabBL.MainClass.getPaymentByCourse(appointmentId);
        }