コード例 #1
0
        internal override object[] GetRow()
        {
            FuelCardDriverList fuelCardDriverList = FuelCardDriverList.getInstance();
            FuelCardDriver     fuelCardDriver     = fuelCardDriverList.getItem(this);

            return(fuelCardDriver.GetRow());
        }
コード例 #2
0
        private void _dgv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int idFuelCardDriver = GetFuelCardDriverID();

            FuelCardDriver fuelCardDriver = fuelCardDriverList.getItem(idFuelCardDriver);

            ShowAddEditFuelCardDriver(fuelCardDriver);
        }
コード例 #3
0
        public void AddEmptyDriver()
        {
            FuelCardDriverList fuelCardDriverList = FuelCardDriverList.getInstance();

            if (fuelCardDriverList.getItem(this) == null)
            {
                FuelCardDriver fuelCardDriver = CreateFuelCardDriver();
                fuelCardDriver.Save();
            }
        }