示例#1
0
        private void OrderEdit_Click(object sender, RoutedEventArgs e)
        {
            var editorF = new EditorFormOrder((Order)((MenuItem)sender).DataContext);

            editorF.Owner = this;
            editorF.ShowDialog();
            this.Show();
        }
示例#2
0
        private void miAddOrder_Click(object sender, RoutedEventArgs e)
        {
            var editorF = new EditorFormOrder();

            editorF.Owner = this;
            editorF.ShowDialog();
            this.Show();
        }
示例#3
0
 private void OrderEdit_Click(object sender, RoutedEventArgs e)
 {
     var editorF = new EditorFormOrder((Order)((MenuItem)sender).DataContext);
     editorF.Owner = this;
     editorF.ShowDialog();
     this.Show();
 }
示例#4
0
 private void miAddOrder_Click(object sender, RoutedEventArgs e)
 {
     var editorF = new EditorFormOrder();
     editorF.Owner = this;
     editorF.ShowDialog();
     this.Show();
 }