static void OnNewProductionItem()
 {
     var dlg = new DlgProductionItem();
     dlg.DataContext = new ProductionItem();
     dlg.ShowDialog();
 }
 void OnEditProductionItem()
 {
     var dlg = new DlgProductionItem();
     dlg.DataContext = this;
     dlg.ShowDialog();
 }