Imported Upstream version 2.2.0
[deb_libcec.git] / src / LibCecTray / ui / IAsyncControls.cs
CommitLineData
cbbe90dd
JB
1using System;
2using System.Collections.Generic;
3using System.Text;
4using System.Windows.Forms;
5using CecSharp;
6
7namespace 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}