Commit | Line | Data |
---|---|---|
cbbe90dd JB |
1 | using System; |
2 | using System.Collections.Generic; | |
3 | using System.Text; | |
4 | using System.Windows.Forms; | |
5 | using CecSharp; | |
6 | ||
7 | namespace LibCECTray.ui | |
8 | { | |
9 | interface IAsyncControls | |
10 | { | |
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); | |
24 | } | |
25 | } |