Пример #1
0
        private void InitView()
        {
            database = DbLayer.DbLayer.Database;

            AddPersonView.MainWindow = this;

            LoadPersons();
            UpdateControler.controls.Add(this);
        }
Пример #2
0
        public RegistrationWindow()
        {
            InitializeComponent();

            dbLayer = DbLayer.DbLayer.Database;
        }
 private void InitView()
 {
     database = DbLayer.DbLayer.Database;
 }