示例#1
0
        public formDriversList()
        {
            InitializeComponent();

            driverList = DriverList.getInstance();

            btnAdd.Visible    = User.IsFullAccess();
            btnDelete.Visible = User.IsFullAccess();

            _searcher = new SearchInDgv(_dgvDrivers);

            _myStatusStrip = new MyStatusStrip(_dgvDrivers, statusStrip1);

            _myFilter = MyFilter.GetInstanceDrivers();
            _myFilter.Fill(_dgvDrivers, _myStatusStrip, this);
        }
示例#2
0
        public formDriversList()
        {
            InitializeComponent();

            driverList = DriverList.getInstance();

            btnAdd.Visible = User.IsFullAccess();
            btnDelete.Visible = User.IsFullAccess();

            _searcher = new SearchInDgv(_dgvDrivers);

            _myStatusStrip = new MyStatusStrip(_dgvDrivers, statusStrip1);

            _myFilter = MyFilter.GetInstanceDrivers();
            _myFilter.Fill(_dgvDrivers, _myStatusStrip, this);
        }
示例#3
0
        public mainForm()
        {
            InitializeComponent();

            carList    = CarList.getInstance();
            mainStatus = MainStatus.getInstance();
            mainStatus.StatusChanged += statusChanged;
            mainStatus.StatusChanged += SetWindowHeaderText;
            mainStatus.StatusChanged += ConfigContextMenu;

            _dgvMain = new MainDGV(_dgvCar);

            _seacher = new SearchInDgv(_dgvCar);

            _myStatusStrip = new MyStatusStrip(_dgvCar, statusStrip1);

            _myFilter = MyFilter.GetInstanceCars();
            _myFilter.Fill(_dgvCar, _myStatusStrip, this);
        }
示例#4
0
        public mainForm()
        {
            InitializeComponent();

            carList = CarList.getInstance();
            mainStatus = MainStatus.getInstance();
            mainStatus.StatusChanged += statusChanged;
            mainStatus.StatusChanged += SetWindowHeaderText;
            mainStatus.StatusChanged += ConfigContextMenu;

            _dgvMain = new MainDGV(_dgvCar);

            _seacher = new SearchInDgv(_dgvCar);

            _myStatusStrip = new MyStatusStrip(_dgvCar, statusStrip1);

            _myFilter = MyFilter.GetInstanceCars();
            _myFilter.Fill(_dgvCar, _myStatusStrip, this);
        }