Пример #1
0
        private void linkLabel5_LinkClicked_1(object sender, LinkLabelLinkClickedEventArgs e)
        {
            AddMinorRepair fm4 = new AddMinorRepair();

            this.Hide();
            fm4.Show();
        }
Пример #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;
        }
Пример #3
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;
        }