コード例 #1
0
        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);
        }