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


C# MCSControls类代码示例

本文整理汇总了C#中MCSControls的典型用法代码示例。如果您正苦于以下问题:C# MCSControls类的具体用法?C# MCSControls怎么用?C# MCSControls使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: MCSTabControl1_OnTabClicked

 protected void MCSTabControl1_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
 {
     switch (e.item.Value)
     {
         case "0":
             Response.Redirect("Rpt_DataSetDetail.aspx?ID=" + ViewState["ID"].ToString());
             break;
         case "1":
             Response.Redirect("Rpt_DataSetParamsList.aspx?ID=" + ViewState["ID"].ToString());
             break;
         case "2":
             Response.Redirect("Rpt_DataSetTablesList.aspx?ID=" + ViewState["ID"].ToString());
             break;
         case "3":
             Response.Redirect("Rpt_DataSetTableRelationsList.aspx?ID=" + ViewState["ID"].ToString());
             break;
         case "4":
             Response.Redirect("Rpt_DataSetFieldsList.aspx?ID=" + ViewState["ID"].ToString());
             break;
         case "5":
             Response.Redirect("Rpt_DataSetCondition.aspx?ID=" + ViewState["ID"].ToString());
             break;
         default:
             break;
     }
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:26,代码来源:Rpt_DataSetTablesList.aspx.cs

示例2: MCSTabControl1_OnTabClicked

 protected void MCSTabControl1_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
 {
     if (MCSTabControl1.SelectedIndex < 4)
     {
         Response.Redirect("PM_PromotorSummary.aspx?AccountMonth=" + ddl_Month.SelectedValue + "&OrganizeCity=" + tr_OrganizeCity.SelectValue);
     }
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:7,代码来源:PM_GetAnalysisOverview.aspx.cs

示例3: select_Retailer_SelectChange

 protected void select_Retailer_SelectChange(object sender, MCSControls.MCSWebControls.SelectChangeEventArgs e)
 {
     if (select_Client.SelectValue != "")
     {
         bt_Find_Click(null, null);
     }
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:7,代码来源:ClientPictureList.aspx.cs

示例4: tr_OrganizeCity_Selected

 protected void tr_OrganizeCity_Selected(object sender, MCSControls.MCSWebControls.SelectedEventArgs e)
 {
     int city = int.Parse(tr_OrganizeCity.SelectValue);
     ddl_Car.DataSource = Car_CarListBLL.GetCarListByOrganizeCity(city).OrderBy(p => p.CarNo);
     ddl_Car.DataBind();
     ddl_Car.Items.Insert(0, new ListItem("请选择", "0"));
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:7,代码来源:Car_UsageList.aspx.cs

示例5: MCSTabControl1_OnTabClicked

 protected void MCSTabControl1_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
 {
     if (e.Index == 0 && ViewState["ID"] != null)
     {
         Response.Redirect("ProductDetail.aspx?ID=" + ViewState["ID"].ToString());
     }
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:7,代码来源:ProductPictureList.aspx.cs

示例6: MCSTabControl1_OnTabClicked

 protected void MCSTabControl1_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
 {
     if (e.Index == 0)
     {
         Response.Redirect("TableDetail.aspx?TableID=" + ViewState["TableID"].ToString());
     }
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:7,代码来源:ModelFieldList.aspx.cs

示例7: tr_Position_Selected

    protected void tr_Position_Selected(object sender, MCSControls.MCSWebControls.SelectedEventArgs e)
    {
        if (tr_Position.SelectedValue != "0")
        {
            string positions = "";
            if (cb_IncludeChild.Checked)
            {
                Org_PositionBLL pos = new Org_PositionBLL(int.Parse(tr_Position.SelectedValue));
                positions = pos.GetAllChildPosition();
                if (positions != "") positions += ",";
                positions += tr_Position.SelectedValue;
            }
            else
                positions = tr_Position.SelectedValue;

            DataTable dt = Org_StaffBLL.GetRealNameAndUserNameByPosition(positions);

            listAccount.Items.Clear();

            foreach (DataRow row in dt.Rows)
            {
                listAccount.Items.Add(new ListItem((string)row["UserName"] + "[" + (string)row["RealName"] + "]", (string)row["UserName"]));
            }
        }
    }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:25,代码来源:selectreceiver1.aspx.cs

示例8: select_Client_SelectChange

 protected void select_Client_SelectChange(object sender, MCSControls.MCSWebControls.SelectChangeEventArgs e)
 {
     if (e.SelectValue != "")
     {
         tr_OrganizeCity.SelectValue = new CM_ClientBLL(int.Parse(e.SelectValue)).Model.OrganizeCity.ToString();
     }
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:7,代码来源:ReceivablesDetail.aspx.cs

示例9: select_ProductCode_TextChange

    protected void select_ProductCode_TextChange(object sender, MCSControls.MCSWebControls.TextChangeEventArgs e)
    {
        select_ProductCode.SelectValue = e.Code;

        PDT_Product _product = new PDT_ProductBLL(e.Code).Model;
        BindProduct(_product);
    }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:7,代码来源:ProductPictureList.aspx.cs

示例10: MCSTabControl1_OnTabClicked

 protected void MCSTabControl1_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
 {
     if (e.Index == 1)
     {
         Response.Redirect("ProductPictureList.aspx?ID=" + ViewState["ID"].ToString());
     }
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:7,代码来源:ProductDetail.aspx.cs

示例11: ddl_Position_Selected

 protected void ddl_Position_Selected(object sender, MCSControls.MCSWebControls.SelectedEventArgs e)
 {
     if (e.CurSelectIndex != 0)
     {
         int position = e.CurSelectIndex;
         ddl_Staff.DataSource = Org_StaffBLL.GetStaffList("Position=" + position.ToString());
         ddl_Staff.DataBind();
     }
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:9,代码来源:CreateUser.aspx.cs

示例12: MCSTabControl1_OnTabClicked

    protected void MCSTabControl1_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
    {
        gv_List_Product.Visible = e.item.Value == "0";
        gv_List_Client.Visible = e.item.Value == "1";
        gv_PayInfoSummary.Visible = e.item.Value == "2";
        gv_PayInfoDetail.Visible = e.item.Value == "3";

        BindGrid();
    }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:9,代码来源:SaleOutSummary.aspx.cs

示例13: MCSTabControl1_OnTabClicked

 protected void MCSTabControl1_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
 {
     if (e.Index == 1)
         Response.Redirect("FlowProcessList.aspx?AppID=" + ViewState["AppID"].ToString());
     else if (e.Index == 2)
         Response.Redirect("FlowDataObjectList.aspx?AppID=" + ViewState["AppID"].ToString());
     else if (e.Index == 0)
         Response.Redirect("FlowAppDetail.aspx?AppID=" + ViewState["AppID"].ToString());
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:9,代码来源:FlowInitPosition.aspx.cs

示例14: MCSTabControl1_OnTabClicked

    protected void MCSTabControl1_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
    {
        gv_List.Visible = MCSTabControl1.SelectedIndex == 0;
        gv_ListDetail.Visible = !gv_List.Visible;

        gv_List.PageIndex = 0;
        gv_ListDetail.PageIndex = 0;
        BindGrid();
    }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:9,代码来源:FeeApplyAndWriteoffSummaryByDistributor.aspx.cs

示例15: select_ProductCode_SelectChange

 protected void select_ProductCode_SelectChange(object sender, MCSControls.MCSWebControls.SelectChangeEventArgs e)
 {
     int id = 0;
     int.TryParse(e.SelectValue, out id);
     if (id > 0)
     {
         PDT_Product _product = new PDT_ProductBLL(id).Model;
         if (BindProduct(_product)) BindGrid();
     }
 }
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:10,代码来源:ProductPictureList.aspx.cs


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