Exemple #1
0
 void client_DeleteModelDefineCompleted(object sender, DeleteModelDefineCompletedEventArgs e)
 {
     if (e.Result == "1")
     {
         ModelCodeListBind();
         ComfirmWindow.ConfirmationBox("提示信息", "删除成功!", "确定");
     }
     else if (e.Result == "10")
     {
         ComfirmWindow.ConfirmationBox("提示信息", "已经关联流程不能删除!", "确定");
     }
     else
     {
         ComfirmWindow.ConfirmationBox("提示信息", "删除失败!", "确定");
     }
     pBar.Stop();
 }
Exemple #2
0
        void client_DeleteModelDefineCompleted(object sender, DeleteModelDefineCompletedEventArgs e)
        {
            if (e.Result == "1")
            {
                ModelCodeListBind();
                ComfirmWindow.ConfirmationBox("提示信息", "删除成功!", "确定");

            }
            else if (e.Result == "10")
            {
                ComfirmWindow.ConfirmationBox("提示信息", "已经关联流程不能删除!", "确定");
            }
            else
            {
                ComfirmWindow.ConfirmationBox("提示信息", "删除失败!", "确定");
            }
            pBar.Stop();
        }