Ejemplo n.º 1
0
        private void miAddShop_Click(object sender, RoutedEventArgs e)
        {
            var editorF = new EditorFormShop();

            editorF.Owner = this;
            editorF.ShowDialog();
            this.Show();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
 }
Ejemplo n.º 4
0
 private void miAddShop_Click(object sender, RoutedEventArgs e)
 {
     var editorF = new EditorFormShop();
     editorF.Owner = this;
     editorF.ShowDialog();
     this.Show();
 }