Пример #1
0
 public CCashier(ref AccessToBank bank, ref AccessToBasicReis basicReis, ref AccessToReis reis, ref AccessToClients clients, ref AccessToPlanes aircrafts)
 {
     BankEntitie      = bank;
     ReisEntitie      = reis;
     ClientsEntitie   = clients;
     BasicReisEntitie = basicReis;
     PlanesEntitie    = aircrafts;
 }
Пример #2
0
        static void Main(string[] args)
        {
            //Инициализуруем и заполняем необходимые объекты
            AccessToBank      Bank      = new AccessToBank();
            AccessToBasicReis BasicReis = new AccessToBasicReis();
            AccessToReis      Reis      = new AccessToReis();
            AccessToClients   Clients   = new AccessToClients();
            AccessToPlanes    Planes    = new AccessToPlanes();

            AutoComplete.Complete(ref BasicReis, ref Planes);

            CCashier Cashier = new CCashier(ref Bank, ref BasicReis, ref Reis, ref Clients, ref Planes);

            OutMenu(Reis, Cashier);
        }