示例#1
0
        public static PolicyList getInstance()
        {
            if (uniqueInstance == null)
                uniqueInstance = new PolicyList();

            return uniqueInstance;
        }
示例#2
0
        public Car_AddEdit(Car car)
        {
            InitializeComponent();

            _car = car;

            diagCardList = DiagCardList.getInstance();
            driverCarList = DriverCarList.getInstance();
            driverList = DriverList.getInstance();
            dtpList = DTPList.getInstance();
            invoiceList = InvoiceList.getInstance();
            mileageList = MileageList.getInstance();
            policyList = PolicyList.getInstance();
            repairList = RepairList.getInstance();
            violationList = ViolationList.getInstance();
            shipPartList = ShipPartList.getInstance();
        }