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