public MainWindowControler(MainWindow window) : base(window)
        {
            _settingControler  = new SettingTabControler(this, window);
            _locationControler = new LocationTabControler(this, window);

            ReloadAndRefreshControls();
        }
示例#2
0
        public ListerControler(MainWindow mainWindow, LocationListerWindow listerWindow, LocationTabControler locationTabControler) : base(mainWindow)
        {
            AllDisplayItems    = new ObservableCollection <LocationListerDisplayItem>();
            CurrentDisplayItem = new LocationListerDisplayItem();

            _locationTabControler = locationTabControler;
            _listerWindow         = listerWindow;

            _listerWindow.LocationListView.ItemsSource = AllDisplayItems;
            _listerWindow.PhotoPlaceGrid.DataContext   = CurrentDisplayItem;

            ReadData();
        }
示例#3
0
        internal LocationListerWindow(MainWindow mainWindow, LocationTabControler locationTabControler)
        {
            InitializeComponent();

            Controler = new ListerControler(mainWindow, this, locationTabControler);
        }