From 3c6cad1224e7cb985f03d15cc98a4a2074a5af49 Mon Sep 17 00:00:00 2001
From: cdk <2441919651@qq.com>
Date: 星期一, 22 十二月 2025 22:25:33 +0800
Subject: [PATCH] 增加轮播看板

---
 DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs b/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs
index 6843b0f..b723762 100644
--- a/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs
@@ -32,9 +32,57 @@
                 }
                 else
                     chkWater.Visible = false;
+
+
+                if (fGx == "G001:鎶曞叆")
+                {
+                    btnFg.Visible = true;
+                }
+                else
+                    btnFg.Visible = false;
+
             };
+
+            btnFg.Click += BtnFg_Click;
         }
 
+        /// <summary>
+        /// 杩斿伐绫诲瀷杩涘叆
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        /// <exception cref="NotImplementedException"></exception>
+        private void BtnFg_Click(object sender, EventArgs e)
+        {
+            if (txt_bc.SelectedIndex <= 0)
+            {
+                txt_bc.Focus();
+                Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鐝锛�");
+                return;
+            }
+            if (txt_gx.SelectedIndex <= 0)
+            {
+                txt_gx.Focus();
+                Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨宸ュ簭锛�");
+                return;
+            }
+            string fGx = txt_gx.Text.Trim();
+            string fBc = txt_bc.Text.Trim();
+            if (fGx == "G001:鎶曞叆")
+            {
+                Frm_Work01Fg frm = new Frm_Work01Fg(fGx, fBc);
+                frm.ShowDialog();
+                return;
+            }
+            Gs.DevApp.ToolBox.MsgHelper.ShowError("閫夋嫨閿欒锛岃閲嶈瘯锛�");
+            return;
+        }
+
+        /// <summary>
+        /// 姝e父杩涘叆 
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
         private void BtnLogin_Click(object sender, EventArgs e)
         {
             if (txt_bc.SelectedIndex <= 0)

--
Gitblit v1.9.3