void scSettings_GetVideoSources(object sender, EventArgs e) { try { _controller.QueryVideoSources(); } catch (System.Exception ex) { MessageBox.Show(this, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
void scSettings_GetVideoSources(object sender, EventArgs e) { try { _controller.QueryVideoSources(); } catch (System.Exception ex) { ShowError(ex.Message); } }