protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Remove":

            objDataTemplateRule.DeleteDataTemplateType(gdvContent.SelectedRowDataKeys);
            RenderPage();

            break;

        case "Create":
            Redirect("../../ServiceLayer/DataTemplate/DataTemplateTypeEdit.aspx");

            break;

        case "Modify":

            Redirect("../../ServiceLayer/DataTemplate/DataTemplateTypeEdit.aspx?DataTemplateTypeID=" + gdvContent.SelectedRowFirstKey);


            break;

        case "View":

            Redirect("../../ServiceLayer/DataTemplate/DataTemplateList.aspx?DataTemplateTypeID=" + gdvContent.SelectedRowFirstKey);

            break;

        case "Search":
            SearchCondition();
            break;
        }
    }
Пример #2
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Create":
            Redirect("../../ServiceLayer/Resource/ResourceTypeEdit.aspx");
            break;

        case "Remove":
            objResourceRule.DeleteResourceType(gdvContent.SelectedRowDataKeys);
            RenderPage();
            break;

        case "ResourcePath":
            Redirect("../../ServiceLayer/Resource/ResourcePathList.aspx");
            break;

        case "WaterImage":
            Redirect("../../ServiceLayer/Resource/WaterImageList.aspx");
            break;

        case "Search":
            SearchCondition();
            break;

        case "SyncSql":
            SyncSql();
            break;
        }
    }
Пример #3
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Create":
            Redirect("../../ServiceLayer/Module/ModuleTypeEdit.aspx");
            break;

        case "Modify":
            Redirect("../../ServiceLayer/Module/ModuleTypeEdit.aspx?ModuleTypeID=" + gdvContent.SelectedRowFirstKey);

            break;


        case "DataField":
            Redirect("../../ServiceLayer/Data/DataTypeList.aspx");
            break;

        case "Cote":
            Redirect("ModuleCoteList.aspx");
            break;

        case "UpdateSql":
            UpdateSql();
            break;
        }
    }
Пример #4
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Remove":
            objLogRule.loger_loging.DeleteDataPrimaryKey(gdvContent.SelectedRowDataKeys);
            RenderPage();
            break;

        case "LogClear":

            Redirect("LogClear.aspx?ApplicationID=" + ApplicationID.ToString());
            break;

        case "SaveSet":
            Redirect("WriterTypeEdit.aspx?ApplicationID=" + ApplicationID.ToString());
            break;

        case "LogStat":
            Redirect("LogStatList.aspx?ApplicationID=" + ApplicationID.ToString());
            break;

        case "Search":
            SearchCondition();
            break;
        }
    }
Пример #5
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "CreateApplication":
            Redirect("ApplicationEdit.aspx?ParentID=" + ApplicationID);
            break;

        case "ModifyApplication":
            Redirect("ApplicationEdit.aspx?ApplicationID=" + ApplicationID);
            break;

        case "Move":
            Redirect("ApplicationMove.aspx?ApplicationID=" + ApplicationID);
            break;

        case "RemoveApplication":
            int ParentID = objLogRule.DeleteApplication(ApplicationID);;
            RefreshFrame("frmApplicationTree", "ApplicationTree.aspx?ApplicationID=" + ParentID, "删除成功", "ApplicationInfo.aspx?ApplicationID=" + ParentID);
            break;

        case "Create":
            Redirect("LogCategoryTypeEdit.aspx?ApplicationID=" + ApplicationID);
            break;

        case "InitCategory":
            objLogRule.UpdateApplicationCategory(ApplicationID);
            RenderPage();
            MessageDialog("初始化成功");
            break;
        }
    }
Пример #6
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Create":

            Redirect("../../ServiceLayer/DataTemplate/DataTemplateEdit.aspx?DataTemplateTypeID=" + DataTemplateTypeID.ToString());
            break;

        case "Remove":


            objDataTemplateRule.DeleteDataTemplate(gdvContent.SelectedRowDataKeys);
            RenderPage();

            break;

        case "Modify":

            Response.Redirect("../../ServiceLayer/DataTemplate/DataTemplateEdit.aspx?DataTemplateTypeID=" + DataTemplateTypeID.ToString() + "&DataTemplateID=" + gdvContent.SelectedRowFirstKey);

            break;

        case "Back":
            Redirect("../../ServiceLayer/DataTemplate/DataTemplateTypeList.aspx");
            break;
        }
    }
Пример #7
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Create":
            Redirect("../../ServiceLayer/Resource/ResourceEdit.aspx?ResourceTypeID=" + ResourceTypeID.ToString());
            break;

        case "CreateVer":
            Redirect("../../ServiceLayer/Resource/ResourceVerEdit.aspx?ResourceTypeID=" + ResourceTypeID.ToString() + "&ResourceID=" + gdvContent.SelectedRowFirstKey);
            break;

        case "ViewVer":
            Redirect("../../ServiceLayer/Resource/ResourceVerList.aspx?ResourceTypeID=" + ResourceTypeID.ToString() + "&ResourceID=" + gdvContent.SelectedRowFirstKey);
            break;

        case "Remove":
            objResourceRule.DeleteResource(gdvContent.SelectedRowDataKeys);
            RenderPage();
            break;

        case "Modify":
            Redirect("../../ServiceLayer/Resource/ResourceEdit.aspx?ResourceTypeID=" + gdvContent.SelectedRowDataKeys);
            break;
        }
    }
Пример #8
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Create":
            Redirect("ModuleDataEdit.aspx?ModuleID=" + ModuleID + "&IsModuleType=" + IsModuleType);
            break;

        case "Remove":
            objModuleRule.DeleteModuleDataByKey(gdvContent.SelectedRowDataKeys);
            RenderPage();
            break;

        case "Back":

            if (IsModuleType == 1)
            {
                Redirect("ModuleTypeList.aspx");
            }
            else
            {
                Redirect("ModuleInfo.aspx?ModuleID=" + ModuleID);
            }
            break;
        }
    }
Пример #9
0
 /// <summary>
 /// 操作栏
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
 {
     switch (e.CommandName)
     {
     case "Save":
         SaveInfo();
         break;
     }
 }
Пример #10
0
 protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
 {
     switch (e.CommandName)
     {
     case "Back":
         Redirect("UserList.aspx");
         break;
     }
 }
Пример #11
0
 /// <summary>
 /// 工具栏操作
 /// </summary>
 protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
 {
     switch (e.CommandName)
     {
     case "Back":
         Redirect("OperatorHistoryList.aspx?HistoryID=" + HistoryID);
         break;
     }
 }
Пример #12
0
 protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
 {
     switch (e.CommandName)
     {
     case "Create":
         Redirect("ThemeTypeEdit.aspx");
         break;
     }
 }
Пример #13
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Back":
            Redirect("LogList.aspx?ApplicationID=" + ApplicationID.ToString());

            break;
        }
    }
Пример #14
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Search":

            SearchCondition();
            break;
        }
    }
Пример #15
0
    /// <summary>
    /// 操作栏
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            ResponseHelper.Redirect("WaterImageList.aspx");
            break;
        }
    }
Пример #16
0
    /// <summary>
    /// 工具栏操作
    /// </summary>
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            Redirect("PlanNotifyList.aspx?PlanID=" + PlanID + "&WorkInfoID=" + WorkInfoID);
            break;
        }
    }
Пример #17
0
    /// <summary>
    /// 工具栏操作
    /// </summary>
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            Redirect("FileRestrictList.aspx?FileResourceID=" + FileResourceID);
            break;
        }
    }
Пример #18
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            Redirect("../../ServiceLayer/User/RoleList.aspx");
            break;
        }
    }
Пример #19
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Create":
            Redirect("../../ServiceLayer/EnumType/ParameterTypeEdit.aspx");
            break;

        case "Search":
            SearchCondition();
            break;
        }
    }
Пример #20
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Create":
            Redirect("GroupEdit.aspx");
            break;

        case "Search":
            SearchCondition();
            break;
        }
    }
Пример #21
0
    /// <summary>
    /// 工具栏操作
    /// </summary>
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            Redirect("ApplicationInfo.aspx?ApplicationID=" + (ParentID.IsNoNull() ? ParentID : ApplicationID));
            break;
        }
    }
Пример #22
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Create":
            Redirect("DataTypeEdit.aspx");
            break;

        case "Back":
            Redirect("../../ServiceLayer/Module/ModuleTypeList.aspx");
            break;
        }
    }
Пример #23
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            Redirect("../../ServiceLayer/HashType/HashList.aspx?HashTypeID=" + HashTypeID.ToString());
            break;
        }
    }
Пример #24
0
    /// <summary>
    /// 工具栏操作
    /// </summary>
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            Redirect("ThemeConfigList.aspx?ThemeTypeID=" + ThemeTypeID + "&ThemeID=" + ThemeID);
            break;
        }
    }
Пример #25
0
    /// <summary>
    /// 工具栏操作
    /// </summary>
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            Redirect("FileStoragePathList.aspx");
            break;
        }
    }
Пример #26
0
    /// <summary>
    /// 工具栏操作
    /// </summary>
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            Redirect("CacheKeyList.aspx?CacheSiteID=" + CacheSiteID);
            break;
        }
    }
Пример #27
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Create":
            Redirect("NotifyAddressEdit.aspx");
            break;

        case "Back":
            Redirect("WorkInfoList.aspx");
            break;
        }
    }
Пример #28
0
    /// <summary>
    /// 工具栏操作
    /// </summary>
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Revert":
            objUserThemeRule.RevertUserTheme(CurrentUser.UserID, ModuleTypeID);
            ScriptHelper.RegisterScript("alert('还原成功'); window.top.location='" + LoginUrl + "'", RegisterType.ClientBlock);
            break;
        }
    }
Пример #29
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Search":

            SearchCondition();
            break;

        case "Back":
            Redirect("WorkLogList.aspx?WorkInfoID=" + WorkInfoID);
            break;
        }
    }
Пример #30
0
    protected override void CurrentTool_ItemCommand(object sender, WTF.Controls.MyCommandEventArgs e)
    {
        switch (e.CommandName)
        {
        case "Save":
            SaveInfo();
            break;

        case "Back":
            Redirect("SuperUserList.aspx");
            break;

        case "Search":
            SearchCondition();
            break;
        }
    }