private void PropertyBtn_Click(object sender, EventArgs e) { try { if (CameraCtrl.DeviceValid) { CameraCtrl.ShowPropertyDialog(); CameraCtrl.SaveDeviceStateToFile("device.xml"); } } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void PropertyBtn_Click(object sender, EventArgs e) { try { if (CameraCtrl.DeviceValid) { CameraCtrl.ShowPropertyDialog(); CameraCtrl.SaveDeviceStateToFile("device.xml"); } } catch (Exception ex) { MessageBox.Show(ex.Message); } }