这是我的一段代码我想在我的LoadItemTrackingGrid()中切换一个大纲,请给我一个所有大纲的快捷方式。
protected void LoadItemTrackingGrid(object sender, EventArgs e)
{
LoadItemTrackingGrid();
}
private bool IsEditModeProductGroup()
{
return (!string.IsNullOrEmpty(lblParentProductId.Text));
}
protected void lnkProductGroupAdd_OnClick(object sender, EventArgs e)
{
if (ddlProductGroup.SelectedIndex == 0)
txtProductGroupName.Text = string.Empty;
else
txtProductGroupName.Text = ddlProductGroup.SelectedItem.Text;
popupProductGroup.Show();
txtProductGroupName.Focus();
}
protected void btnSaveProductGroup_onClick(object sender, EventArgs e)
{
if (!IsValidProductGroup())
{
popupProductGroup.Show();
return;
}
int? ParentProductId = SaveProductGroup();
LoadProductGroup();
ddlProductGroup.SelectedValue = ParentProductId.ToString();
ddlProductGroup_OnSelectedIndexChanged(null, null);
}
答案 0 :(得分:1)
仅勾画一个Toggle => Ctrl + M + M
答案 1 :(得分:0)