Пример #1
0
        private void viewdgr_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            Logic.LogicOrders.CurrentOrder(Convert.ToInt32(dtord.Rows[viewdgr.SelectedIndex].ItemArray[0].ToString()
                                                           ));
            ViewClientOrder upd = new ViewClientOrder();

            upd.Show();
            Close();
        }
Пример #2
0
        private void btnupdate_Click(object sender, RoutedEventArgs e)
        {
            Logic.LogicOrders.CurrentOrder(Convert.ToInt32(dtord.Rows[viewdgr.SelectedIndex].ItemArray[0].ToString()
                                                           ));
            ViewClientOrder upd = new ViewClientOrder();

            upd.Show();
            Close();
        }