Esempio n. 1
0
 private void AddProperty_Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         AddDeviceProperty newW = new AddDeviceProperty(newDeviceProps);
         newW.Show();
     }
     catch (Exception)
     {
     }
 }
Esempio n. 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
     }
 }
Esempio n. 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!");
     }
 }