本文整理汇总了C#中MCSControls类的典型用法代码示例。如果您正苦于以下问题:C# MCSControls类的具体用法?C# MCSControls怎么用?C# MCSControls使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MCSControls类属于命名空间,在下文中一共展示了MCSControls类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: select_applyStaff_SelectChange
protected void select_applyStaff_SelectChange(object sender, MCSControls.MCSWebControls.SelectChangeEventArgs e)
{
if (select_applyStaff.SelectValue != "")
{
select_Client.Enabled = false;
select_Client.ToolTip = "费用申请为员工时费用不能由经销商代垫";
select_ApplyClient.Enabled = false;
select_ApplyClient.ToolTip = "费用申请对像不能同时为经销商与员工";
}
}
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:10,代码来源:FeeWriteoffDetail0.aspx.cs
示例17: MCSTab_DisplayMode_OnTabClicked
protected void MCSTab_DisplayMode_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
{
if (e.Index == 0)
{
if (select_Supplier.SelectValue == "")
Response.Redirect("JXCSummary_Detail.aspx?ClientClassify=" + ViewState["ClientClassify"].ToString());
else
Response.Redirect("JXCSummary_Detail.aspx?ClientID=" + select_Supplier.SelectValue + "&AccountMonth=" + ddl_Month.SelectedValue);
}
}
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:10,代码来源:JXCSummary_Detail2.aspx.cs
示例18: tr_OrganizeCity_Selected
protected void tr_OrganizeCity_Selected(object sender, MCSControls.MCSWebControls.SelectedEventArgs e)
{
select_Staff.PageUrl = "~/SubModule/StaffManage/Pop_Search_Staff.aspx?OrganizeCity=" + tr_OrganizeCity.SelectValue;
select_Staff.SelectText = "";
select_Staff.SelectValue = "";
select_Doctor.PageUrl = "~/SubModule/CM/Hospital/Pop_Search_SelectDoctor.aspx?OrganizeCity=" + tr_OrganizeCity.SelectValue;
select_Doctor.SelectText = "";
select_Doctor.SelectValue = "";
}
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:10,代码来源:CSO_OfferGetBalance.aspx.cs
示例19: MCSTabControl1_OnTabClicked
protected void MCSTabControl1_OnTabClicked(object sender, MCSControls.MCSTabControl.MCSTabClickedEventArgs e)
{
switch (e.item.Value)
{
case "0"://快捷查询
Response.Redirect("JournalList.aspx");
break;
case "1"://高级查询
break;
}
}
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:11,代码来源:AdvanceFind.aspx.cs
示例20: select_OrgSupplier_SelectChange
protected void select_OrgSupplier_SelectChange(object sender, MCSControls.MCSWebControls.SelectChangeEventArgs e)
{
if (select_OrgSupplier.SelectValue != "")
{
CM_Client client = new CM_ClientBLL(int.Parse(select_OrgSupplier.SelectValue)).Model;
if (client != null)
{
lb_Prompt.Text = "注意:该操作将会替换原" + ((int)ViewState["Supplier"] != 0?"成品":"赠品")+ "供货商为【" + client.FullName + "】的所有客户(含分销商及零售商),请小心操作!";
}
}
}
开发者ID:fuhongliang,项目名称:GraduateProject,代码行数:11,代码来源:ReplaceSupplier.aspx.cs
注:本文中的MCSControls类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论