private void TakePictureButton_Click(object sender, EventArgs e) { model.WIACamera camera = (model.WIACamera)devicesList.SelectedItem; //logic.CameraLogic.InitCamera(camera, ISOComboBox.SelectedItem.ToString(), exposureTextBox,Text); Image image = logic.CameraLogic.TakePicture(camera); previewPictureBox.Image = image; }
private void button1_Click(object sender, EventArgs e) { model.WIACamera camera = (model.WIACamera)devicesList.SelectedItem; cameraInfoTextBox.Text = logic.CameraLogic.getInfo(camera); }