Exemple #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            SearchVehicleR vh = new SearchVehicleR();

            this.Hide();
            vh.Show();
        }
Exemple #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;
        }
        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;
        }
Exemple #4
0
        private void pictureBox6_Click(object sender, EventArgs e)
        {
            SearchVehicleR sr = new SearchVehicleR();

            this.Hide();
            sr.Show();
        }
        public DeleteMajorRepair()
        {
            InitializeComponent();

            string invoiceNo = ViewRepairs.mjinvoiceNo;

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

            string vehNo = SearchVehicleR.getVehNo();

            getVehicleDetails(vehNo);
        }
Exemple #6
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;
        }
Exemple #7
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;*/
        }
        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();
        }
Exemple #9
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();
        }
Exemple #10
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();
        }
Exemple #11
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;
        }
Exemple #12
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;
        }
Exemple #13
0
        public RepairCategory()
        {
            InitializeComponent();

            label7.Text = SearchVehicleR.getVehNo();
        }