winform+dev的前后台分离标准项目
lg
2024-09-01 6c8e038aad394c1e91c8c046d3de25dc8e84ecbe
DevApp/Gs.DevApp/DevFrm/FrmMain.cs
@@ -29,10 +29,12 @@
        {
            int i = 100;
            Gs.DevApp.UserControl.ShowDialogForm sdf = new Gs.DevApp.UserControl.ShowDialogForm("提示", "", "请耐心等候,正在操作中!");
            for (int j = 0; j < i; j++) {
                sdf.SetCaption("执行进度(" + (j) + "/" +i.ToString() + ")");
            for (int j = 0; j < i; j++)
            {
                sdf.SetCaption("执行进度(" + (j) + "/" + i.ToString() + ")");
            }
           sdf.Close();
            sdf.Close();
            getTree();
        }
        private void Tab_CloseButtonClick(object sender, EventArgs e)
@@ -54,6 +56,7 @@
                strJson = UtilityHelper.HttpPost("", "User/GetUserLoginInfo", JsonConvert.SerializeObject(_obj));
                JObject _job = JObject.Parse(strJson);
                string rtnCode = _job["rtnCode"].ToString();
                this.acrd.Clear();
                string rtnMsg = _job["rtnMsg"].ToString();
                barMsg.Caption = rtnMsg;
                JArray array = new JArray();
@@ -88,7 +91,7 @@
                        _itm.Click += _grp_Click;
                        _grp.Elements.Add(_itm);
                        //
                        if (idx == 0)
                        if (idx == 0 && tab.TabPages.Count <= 0)
                        {
                            string tabPageName = _itm.Name + "_page";
                            string tabText = _itm.Text;//当前选项卡页Text标题