2 using System.Collections.Generic;
4 using System.Windows.Forms;
7 namespace LibCECTray.ui
9 interface IAsyncControls
11 void SetControlEnabled(Control control, bool val);
12 void SetControlText(Control control, string val);
13 void SetToolStripMenuText(ToolStripMenuItem item, string val);
14 void SetCheckboxChecked(CheckBox control, bool val);
15 void SetCheckboxItemChecked(CheckedListBox control, int index, bool val);
16 void SetProgressValue(ProgressBar control, int val);
17 void SetComboBoxItems(ComboBox control, int selectedIndex, object[] val);
18 void SetControlVisible(Control control, bool val);
19 void DisplayDialog(Form control, bool modal);
20 void SafeHide(bool val);
21 void SetSelectedIndex(ComboBox control, int index);
22 string GetSelectedTabName(TabControl container, TabControl.TabPageCollection tabPages);
23 void SelectKeypressRow(Control container, DataGridView dgView, CecKeypress key);