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

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