Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();
            Parsing.CheckOnStart();
            List <MyTable> myTables = TableInteractions.FillTable();

            grid.ItemsSource = myTables;
        }
Exemplo n.º 2
0
        static FullTable ChoosenRow()
        {
            FullTable        fullTable    = new FullTable("", "", "", "", "", "", "", "");
            MyTable          selectedRow  = ((MainWindow)System.Windows.Application.Current.MainWindow).grid.SelectedItem as MyTable;
            List <FullTable> myTablesFull = TableInteractions.FullTableFill();

            foreach (FullTable table in myTablesFull)
            {
                if (table.Id == selectedRow.Id)
                {
                    fullTable = table;
                }
            }
            return(fullTable);
        }
Exemplo n.º 3
0
 private void grid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     TableInteractions.DetailedForm(sender, e);
 }