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

            editorF.Owner = this;
            editorF.ShowDialog();
            this.Show();
        }
Esempio n. 2
0
        private void EmployeeEdit_Click(object sender, RoutedEventArgs e)
        {
            var editorF = new EditorFormEmployee((Employee)((sender as MenuItem).DataContext));

            editorF.Owner = this;
            editorF.ShowDialog();
            this.Show();
        }
Esempio n. 3
0
 private void EmployeeEdit_Click(object sender, RoutedEventArgs e)
 {
     var editorF = new EditorFormEmployee((Employee)((sender as MenuItem).DataContext));
     editorF.Owner = this;
     editorF.ShowDialog();
     this.Show();
 }
Esempio n. 4
0
 private void miAddEmployee_Click(object sender, RoutedEventArgs e)
 {
     var editorF = new EditorFormEmployee();
     editorF.Owner = this;
     editorF.ShowDialog();
     this.Show();
 }