public TireChangeReportUpdate()
        {
            InitializeComponent();

            string invoice = ViewRepairs.tirinvoiceNo;

            textBox2.Text = invoice;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);
            textBox6.Enabled = false;
            textBox2.Enabled = false;
            textBox3.Enabled = false;
            textBox5.Enabled = false;
            textBox4.Enabled = false;

            load();

            float total = calcTotal();

            textBox1.Text = total.ToString();

            textBox1.Enabled = false;
        }
Example #2
0
        public TireChangeReport()
        {
            InitializeComponent();

            string invoice = AddMinorRepair.getInvoice();

            textBox2.Text = invoice;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);
            dateTimePicker1.Enabled = false;
            textBox2.Enabled        = false;
            textBox3.Enabled        = false;
            textBox5.Enabled        = false;
            textBox4.Enabled        = false;

            load();

            float total = calcTotal();

            textBox1.Text = total.ToString();

            textBox1.Enabled = false;
        }
Example #3
0
        public DeleteMajorRepair()
        {
            InitializeComponent();

            string invoiceNo = ViewRepairs.mjinvoiceNo;

            textBox1.Text    = invoiceNo;
            textBox1.Enabled = false;
            textBox5.Enabled = false;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);
        }
Example #4
0
        public ViewRepairs()
        {
            InitializeComponent();

            dataGridView1.Visible = false;
            dataGridView2.Visible = false;
            dataGridView3.Visible = false;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);

            textBox3.Enabled = false;
            textBox5.Enabled = false;
            textBox4.Enabled = false;
        }
Example #5
0
        public AddMajorRepair()
        {
            InitializeComponent();

            autono();
            textBox2.Enabled = false;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);
            textBox3.Enabled = false;
            textBox4.Enabled = false;
            textBox5.Enabled = false;

            dateTimePicker1.Enabled = false;

            /* this.Location = new Point(0, 0);
             * this.Size = Screen.PrimaryScreen.WorkingArea.Size;*/
        }
Example #6
0
        public MajorRepairUpdate()
        {
            InitializeComponent();

            string invoiceNo = ViewRepairs.mjinvoiceNo;

            textBox2.Text    = invoiceNo;
            textBox2.Enabled = false;
            textBox1.Enabled = false;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);

            textBox3.Enabled = false;
            textBox5.Enabled = false;
            textBox4.Enabled = false;

            loadMajorDetails();
        }
Example #7
0
        public ServiceReportUpdate()
        {
            InitializeComponent();

            string invoice = ViewRepairs.serinvoiceNo;

            textBox2.Text = invoice;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);
            textBox6.Enabled = false;
            textBox1.Enabled = false;
            textBox2.Enabled = false;
            textBox3.Enabled = false;
            textBox5.Enabled = false;
            textBox4.Enabled = false;

            load();
        }
Example #8
0
        public TireChangeUpdate()
        {
            InitializeComponent();

            string invoiceNo = ViewRepairs.tirinvoiceNo;

            textBox2.Text    = invoiceNo;
            textBox2.Enabled = false;
            textBox1.Enabled = false;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);

            textBox3.Enabled = false;
            textBox5.Enabled = false;
            textBox4.Enabled = false;

            loadMinorTireDetails();
        }
Example #9
0
        public ServiceReport()
        {
            InitializeComponent();

            string invoice = AddMinorRepair.getInvoice();

            textBox2.Text = invoice;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);
            dateTimePicker1.Enabled = false;
            textBox2.Enabled        = false;
            textBox3.Enabled        = false;
            textBox5.Enabled        = false;
            textBox4.Enabled        = false;

            load();

            textBox1.Text    = amount;
            textBox1.Enabled = false;
        }
Example #10
0
        public AddMinorRepair()
        {
            InitializeComponent();

            autonoNotify();
            autono();
            textBox2.Enabled = false;

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);
            textBox3.Enabled = false;
            textBox4.Enabled = false;
            textBox5.Enabled = false;

            label25.Enabled         = false;
            dateTimePicker2.Enabled = false;

            groupBox1.Enabled = false;
            groupBox2.Enabled = false;

            dateTimePicker1.Enabled = false;
        }
Example #11
0
        public RepairCategory()
        {
            InitializeComponent();

            label7.Text = SearchVehicleR.getVehNo();
        }