예제 #1
0
 private void AddProperty_Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         AddDeviceProperty newW = new AddDeviceProperty(newDeviceProps);
         newW.Show();
     }
     catch (Exception)
     {
     }
 }
예제 #2
0
 private void AddProp_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         Device            dev        = (Device)PrintersList.SelectedItem;
         AddDeviceProperty addPropWin = new AddDeviceProperty(dev.DeviceProps);
         addPropWin.Show();
     }
     catch (Exception)
     {
         //ingnore the click
     }
 }
예제 #3
0
 private void AddProp_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         Device            dev        = (Device)PrintersList.SelectedItem;
         AddDeviceProperty addPropWin = new AddDeviceProperty(dev.DeviceProps);
         addPropWin.Show();
     }
     catch (Exception)
     {
         //ingnore the click
         //MessageBox.Show("Process failed! Please try again!");
     }
 }