private void LV_Processes_DoubleClick(object sender, MouseButtonEventArgs e)
 {
     if ((sender as ListView).SelectedIndex != -1)
     {
         ObjectWindows.CoatingStandardProcessWindow _pw = new ObjectWindows.CoatingStandardProcessWindow((sender as ListView).SelectedItem as PCoatingCemeconProcess);
         _pw.ShowDialog();
     }
 }
 private void bt_Add_Click(object sender, RoutedEventArgs e)
 {
     ObjectWindows.CoatingStandardProcessWindow _pw = new ObjectWindows.CoatingStandardProcessWindow();
     _pw.ShowDialog();
 }