本文整理汇总了C#中SAPbouiCOM.ComboBox.SelectExclusive方法的典型用法代码示例。如果您正苦于以下问题:C# ComboBox.SelectExclusive方法的具体用法?C# ComboBox.SelectExclusive怎么用?C# ComboBox.SelectExclusive使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SAPbouiCOM.ComboBox
的用法示例。
在下文中一共展示了ComboBox.SelectExclusive方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Act2_DataSourcesBinding
/// <summary>
/// 폼(Form)의 아이템들(Items)에 연결이 필요한 데이타소스(DataSource) 형식을 정의합니다.
/// </summary>
private void Act2_DataSourcesBinding()
{
// '// ADD YOUR ACTION CODE HERE ...
try
{
#region Items
FN.SetDataBind(oForm, "cboUSERGBN", "cboUSERGBN", BoDataType.dt_SHORT_TEXT);
FN.SetDataBind(oForm, "chkUSRGBN1", "chkUSRGBN1", BoDataType.dt_SHORT_TEXT);
FN.SetDataBind(oForm, "chkUSRGBN2", "chkUSRGBN2", BoDataType.dt_SHORT_TEXT);
FN.SetDataBind(oForm, "chkUSRGBN3", "chkUSRGBN3", BoDataType.dt_SHORT_TEXT);
#endregion
#region Grid
oForm.DataSources.DataTables.Add("DT_1");
SAPbouiCOM.Grid oGrid = (SAPbouiCOM.Grid)oForm.Items.Item("grd1").Specific;
oGrid.DataTable = oForm.DataSources.DataTables.Item("DT_1");
oForm.DataSources.DataTables.Add("DT_2");
oGrid = (SAPbouiCOM.Grid)oForm.Items.Item("grd2").Specific;
oGrid.DataTable = oForm.DataSources.DataTables.Item("DT_2");
#endregion
FN.SetComboBoxValidValues(oForm, " SELECT U_CD, U_SMLNM FROM [@KIS_AD00201] WHERE Code = 'SO00' AND U_USEYN = 'Y' ", "cboUSERGBN");
//FN.SetComboBoxDataBind(ref oForm, "cboUSERGBN", "10:KH/HE 관리자,20:KH/HE 콜센터,30:JH 관리자", BoComboDisplayType.cdt_Description, FN.Enum_WholeTp.m_Space);
oComboBox = (SAPbouiCOM.ComboBox)oForm.Items.Item("cboUSERGBN").Specific;
oComboBox.SelectExclusive(0, BoSearchKey.psk_Index);
}
catch (Exception ex)
{
B1Connections.theAppl.StatusBar.SetText(ex.Message, BoMessageTime.bmt_Short, BoStatusBarMessageType.smt_Error);
}
}