//private ICaptureDevice device; public void ShowSelectDeviceWindow() { deviceListForm = new DeviceListForm(); deviceListForm.Show(); deviceListForm.OnItemSelected += deviceListForm_OnItemSelected; }
private void btnDeviceList_Click(object sender, EventArgs e) { DeviceListForm df = new DeviceListForm(); df.ShowDialog(); }
private void Button_Click(object sender, RoutedEventArgs e) { DeviceListForm deviceList = new DeviceListForm(); deviceList.ShowDialog(); }