private void btn_liveview_Click(object sender, EventArgs e) { LiveViewForm form = new LiveViewForm(DeviceManager.SelectedCameraDevice); form.ShowDialog(); }