Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            //Display
            InitFormElements();
            UnitsStore.Init(GridUnits, SearchTextBox);
            RecordsStore.Init(GridRecords);
        }
Exemplo n.º 2
0
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 private void FocusRowUnits(object sender, SelectionChangedEventArgs e)
 {
     RecordsStore.Display((e.Source as DataGrid).CurrentCell.Item as UnitElement);
 }
Exemplo n.º 3
0
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 /*Sub info event handlers*/
 //*///------------------------------------------------------------------------------------------
 //*///------------------------------------------------------------------------------------------
 private void UpdateGrids()
 {
     UnitsStore.Update();
     RecordsStore.Display(GridUnits.CurrentCell.Item as UnitElement);
 }