示例#1
0
        public MainWindow()
        {
            InitializeComponent();

            //Display
            InitFormElements();
            UnitsStore.Init(GridUnits, SearchTextBox);
            RecordsStore.Init(GridRecords);
        }
示例#2
0
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 private void SearchStringChange(object sender, TextChangedEventArgs e)
 {
     UnitsStore.Update();
 }
示例#3
0
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 /*Sub info event handlers*/
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 private void UpdateGrids()
 {
     UnitsStore.Update();
     RecordsStore.Display(GridUnits.CurrentCell.Item as UnitElement);
 }