Example #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            Classdata.TruckFlag = 0;
            FrmTruckAdd frm = new FrmTruckAdd();

            frm.ShowDialog();
            UpdateDataGrid("");
        }
Example #2
0
        private void btnXG_Click(object sender, EventArgs e)
        {
            if (Truckdata.kcode == null)
            {
                return;
            }
            Classdata.TruckFlag = 1;
            FrmTruckAdd frm = new FrmTruckAdd();

            frm.ShowDialog();
            UpdateDataGrid("");
        }