예제 #1
0
        private void miAddShop_Click(object sender, RoutedEventArgs e)
        {
            var editorF = new EditorFormShop();

            editorF.Owner = this;
            editorF.ShowDialog();
            this.Show();
        }
예제 #2
0
        private void ShopEdit_Click(object sender, RoutedEventArgs e)
        {
            var editorF = new EditorFormShop(((KeyValuePair <Guid, Shop>)((MenuItem)sender).DataContext).Value);

            editorF.Owner = this;
            editorF.ShowDialog();
            this.Show();
        }
예제 #3
0
 private void ShopEdit_Click(object sender, RoutedEventArgs e)
 {
     var editorF = new EditorFormShop(((KeyValuePair<Guid, Shop>)((MenuItem)sender).DataContext).Value);
     editorF.Owner = this;
     editorF.ShowDialog();
     this.Show();
 }
예제 #4
0
 private void miAddShop_Click(object sender, RoutedEventArgs e)
 {
     var editorF = new EditorFormShop();
     editorF.Owner = this;
     editorF.ShowDialog();
     this.Show();
 }