예제 #1
0
        private void ClickBack(object sender, RoutedEventArgs e)
        {
            OrderDetailWindow w = new OrderDetailWindow(_orderClass, _user, _allOrdersWindow);

            this.Close();
            w.Show();
        }
예제 #2
0
        private void OrderDetail(object sender, RoutedEventArgs e)
        {
            Button button      = (Button)sender;
            object orderstring = button.Tag;
            var    o           = _singleton.orderList.FirstOrDefault(s => s._name.Equals(orderstring));
            //Console.WriteLine(o.ToString());
            OrderDetailWindow np = new OrderDetailWindow(o, _user, this);

            np.Show();
        }