Example #1
0
        //public int ID;

        public fbaiXe(fQuanLyXe fQuanLy)
        {
            InitializeComponent();
            this.formQuanLyXeGui = fQuanLy;
            this.timer1.Start();
            this.formLoad.Show();
        }
        public fphiGuiXe(string id, fQuanLyXe fQuanLy, int indexform)
        {
            InitializeComponent();

            this.vel.id          = id;
            this.formQuanLyXeGui = fQuanLy;
            this.indexform       = indexform;
        }
Example #3
0
 public finfoXeGui(fQuanLyXe formQuanLyXeGui, string type)
 {
     InitializeComponent();
     //this.vehicleDTO = vel;
     //this.vehicleDTO.ID = id;
     this.formQuanLyXeGui = formQuanLyXeGui;
     this.type            = type;
 }
Example #4
0
 public fStatics_DTvehicle(fQuanLyXe f, int gui, int sua, int rua)
 {
     InitializeComponent();
     this.sumGuixe  = gui;
     this.sumSuaxe  = sua;
     this.sumRuaxe  = rua;
     this.fQuanLyXe = f;
 }
Example #5
0
 public fphiSuaXe(string id, fQuanLyXe fQuanLy, int type, int indexform)
 {
     InitializeComponent();
     this.vehFixDTO.id    = id;
     this.formQuanLyXeGui = fQuanLy;
     this.vehDTO.type     = type;
     this.indexform       = indexform;
     //this.ve
 }
Example #6
0
 private void addVehicleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Global.GlobalEmployeeType == 0 || Global.GlobalEmployeeType == 5 || Global.GlobalEmployeeType == 1 || Global.GlobalEmployeeType == 2 ||
         Global.GlobalEmployeeType == 6 || Global.GlobalEmployeeType == 7 || Global.GlobalEmployeeType == 4)   ///
     {
         fQuanLyXe form = new fQuanLyXe();
         this.Hide();
         form.ShowDialog();
         this.Show();
     }
     else
     {
         MessageBox.Show("Bạn không có quyền hạn này", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
Example #7
0
 public finfoXeRua(fQuanLyXe quanly)
 {
     InitializeComponent();
     this.fQuanLyXe = quanly;
 }
Example #8
0
 public fdoanhThu(fQuanLyXe fQuanLy)
 {
     InitializeComponent();
     this.fQuanLyXeGui = fQuanLy;
 }
Example #9
0
 public finfoXeSua(fQuanLyXe fQuanLy)
 {
     InitializeComponent();
     this.formQuanLyXeGui = fQuanLy;
 }
 public fotherServices_Fix(fQuanLyXe fQuanLy)
 {
     InitializeComponent();
     this.fQuanLy = fQuanLy;
 }
 public fotherServices_Park(fQuanLyXe quanLyXe)
 {
     InitializeComponent();
     this.fQuanLy = quanLyXe;
 }
Example #12
0
 public flayXeGui(fQuanLyXe quanLyXe)
 {
     InitializeComponent();
     this.formQuanLyXeGui = quanLyXe;
 }
 public fVehicle(fQuanLyXe Form)
 {
     InitializeComponent();
     this.formQuanLyXeGui = Form;
 }