当前位置: 首页>>代码示例>>C#>>正文


C# TextChooser.SetBindTable方法代码示例

本文整理汇总了C#中ServiceStationClient.ComponentUI.TextBox.TextChooser.SetBindTable方法的典型用法代码示例。如果您正苦于以下问题:C# TextChooser.SetBindTable方法的具体用法?C# TextChooser.SetBindTable怎么用?C# TextChooser.SetBindTable使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ServiceStationClient.ComponentUI.TextBox.TextChooser的用法示例。


在下文中一共展示了TextChooser.SetBindTable方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: BindCustomer

 /// <summary>
 /// 绑定客户速查
 /// </summary>
 /// <param name="txtCustCode"></param>
 public void BindCustomer(TextChooser txtCustCode)
 {
     //设置客户编码速查
     txtCustCode.SetBindTable("tb_customer", "cust_code", "cust_name");
     txtCustCode.GetDataSourced += new TextChooser.GetDataSourceHandler(txtcCustName_GetDataSourced);
     //txtCustCode.DataBacked += new TextChooser.DataBackHandler(txtcCustName_DataBacked);
 }
开发者ID:caocf,项目名称:workspace-kepler,代码行数:11,代码来源:Quick.cs

示例2: SupperNameChoose

 /// <summary> 供应商名称速查选择器
 /// </summary>
 /// <param name="ContorlName">控件ID</param>
 /// <param name="delDataBack">回调函数</param>
 public static void SupperNameChoose(TextChooser ContorlName, GreetingDelegate delDataBack)
 {
     string table = "tb_supplier";
     string valueColumn = "sup_full_name";
     //设置表和显示字段
     ContorlName.SetBindTable(table, valueColumn);
     ContorlName.GetDataSourced += new TextChooser.GetDataSourceHandler(Sup_NameBindData);
     if (delDataBack != null)
     {
         ContorlName.DataBacked -= new TextChooser.DataBackHandler(delDataBack);
         ContorlName.DataBacked += new TextChooser.DataBackHandler(delDataBack);
     }
 }
开发者ID:caocf,项目名称:workspace-kepler,代码行数:17,代码来源:Choosefrm.cs

示例3: CusCodeChoose

 /// <summary> 客户编码速查选择器
 /// </summary>
 /// <param name="ContorlName">控件ID</param>
 /// <param name="delDataBack">回调函数</param>
 public static void CusCodeChoose(TextChooser ContorlName, GreetingDelegate delDataBack)
 {
     string table = "tb_customer";
     string displayColumn = "cust_code";
     string valueColumn = "cust_name";
     //设置表和显示字段
     ContorlName.SetBindTable(table, displayColumn, valueColumn);
     ContorlName.GetDataSourced += new TextChooser.GetDataSourceHandler(Cus_CodeBindData);
     if (delDataBack != null)
     {
         ContorlName.DataBacked -= new TextChooser.DataBackHandler(delDataBack);
         ContorlName.DataBacked += new TextChooser.DataBackHandler(delDataBack);
     }
 }
开发者ID:caocf,项目名称:workspace-kepler,代码行数:18,代码来源:Choosefrm.cs

示例4: PartsCarModelNameChoose

 /// <summary> 配件车型名称速查选择器
 /// </summary>
 /// <param name="ContorlName">控件ID</param>
 /// <param name="delDataBack">回调函数</param>
 public static void PartsCarModelNameChoose(TextChooser ContorlName, GreetingDelegate delDataBack)
 {
     string table = "tb_vehicle_models";
     string valueColumn = "vm_name";
     //设置表和显示字段
     ContorlName.SetBindTable(table, valueColumn);
     ContorlName.GetDataSourced += new TextChooser.GetDataSourceHandler(PartsCarModel_NameBindData);
     if (delDataBack != null)
     {
         ContorlName.DataBacked -= new TextChooser.DataBackHandler(delDataBack);
         ContorlName.DataBacked += new TextChooser.DataBackHandler(delDataBack);
     }
 }
开发者ID:caocf,项目名称:workspace-kepler,代码行数:17,代码来源:Choosefrm.cs

示例5: PartsTypeNameChoose

 /// <summary> 配件类型名称速查选择器
 /// </summary>
 /// <param name="ContorlName">控件ID</param>
 /// <param name="delDataBack">回调函数</param>
 public static void PartsTypeNameChoose(TextChooser ContorlName, GreetingDelegate delDataBack)
 {
     string table = "sys_dictionaries";
     string valueColumn = "dic_name";
     //设置表和显示字段
     ContorlName.SetBindTable(table, valueColumn);
     ContorlName.GetDataSourced += new TextChooser.GetDataSourceHandler(PartsType_NameBindData);
     if (delDataBack != null)
     {
         ContorlName.DataBacked -= new TextChooser.DataBackHandler(delDataBack);
         ContorlName.DataBacked += new TextChooser.DataBackHandler(delDataBack);
     }
 }
开发者ID:caocf,项目名称:workspace-kepler,代码行数:17,代码来源:Choosefrm.cs

示例6: BindParts

 /// <summary>
 /// 绑定配件速查
 /// </summary>
 /// <param name="txtcParts"></param>
 public void BindParts(TextChooser txtcParts)
 {
     txtcParts.SetBindTable("tb_parts", "ser_parts_code", "parts_name");
     txtcParts.GetDataSourced += new TextChooser.GetDataSourceHandler(txtcParts_GetDataSourced);
 }
开发者ID:caocf,项目名称:workspace-kepler,代码行数:9,代码来源:Quick.cs

示例7: BindSupplier

 /// <summary>
 /// 绑定供应商速查
 /// </summary>
 /// <param name="txtcSupplier"></param>
 public void BindSupplier(TextChooser txtcSupplier)
 {
     //设置供应商编码速查
     txtcSupplier.SetBindTable("tb_supplier", "sup_code", "sup_full_name");
     txtcSupplier.GetDataSourced += new TextChooser.GetDataSourceHandler(txtcSupplier_GetDataSourced);
 }
开发者ID:caocf,项目名称:workspace-kepler,代码行数:10,代码来源:Quick.cs


注:本文中的ServiceStationClient.ComponentUI.TextBox.TextChooser.SetBindTable方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。