本文整理汇总了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;
}
}
示例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);
}
}
示例3: select_Retailer_SelectChange
protected void select_Retailer_SelectChange(object sender, MCSControls.MCSWebControls.SelectChangeEventArgs e)
{
if (select_Client.SelectValue != "")
{
bt_Find_Click(null, null);
}
}
示例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"));
}
示例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());
}
}
示例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());
}
}
示例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"]));
}
}
}
示例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();
}
}
示例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);
}
示例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());
}
}
示例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();
}
}
示例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();
}
示例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());
}
示例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();
}
示例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();
}
}