Пример #1
0
 private void Double_OnMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     try
     {
         if (e.ClickCount == 2)
         {
             Windows.WindowMatchingMaterials window = new Windows.WindowMatchingMaterials(ContainerItem);
             window.Show();
         }
     }
     catch (Exception exception)
     {
         MessageBox.Show(exception.Message, "Ошибка");
     }
 }
Пример #2
0
 private void MatchingMaterials_OnClick(object sender, RoutedEventArgs e)
 {
     Windows.WindowMatchingMaterials window = new Windows.WindowMatchingMaterials();
     window.Show();
 }