示例#1
0
 public _20_运动类型选择(_19_文件编辑 F19, _14_文件管理 F14, _21_直线指令 F21, _22_三点圆弧指令 F22, _23_延时指令 F23, _24_输出指令_ F24, _25_输出复位指令 F25, _26_圆心圆弧指令 F26, _27_绝对模式 F27, _28_相对模式 F28)
 {
     InitializeComponent();
     this.return_19_文件编辑   = F19;
     this.return_14_文件管理   = F14;
     this.return_21_直线指令   = F21;
     this.return_22_三点圆弧指令 = F22;
     this.return_23_延时指令   = F23;
     this.return_24_输出指令_  = F24;
     this.return_25_输出复位指令 = F25;
     this.return_26_圆心圆弧指令 = F26;
     this.return_27_绝对模式   = F27;
     this.return_28_相对模式   = F28;
 }
示例#2
0
        //圆心圆弧
        private void button3_Click(object sender, EventArgs e)
        {
            codespace[(linenum - 1) * LINESPACE]     = "6";  //圆弧类型
            codespace[(linenum - 1) * LINESPACE + 4] = "80"; //速度默认
            //圆心圆弧窗口
            if (g_handle != (IntPtr)0)
            {
                if (change26 == 0)
                {
                    linenum  = 6;
                    codename = "圆心圆弧";
                    change26 = 1;
                    JUMP();  //判断
                    _26_圆心圆弧指令 f26 = new _26_圆心圆弧指令(this, null, this.return_14_文件管理);
                    f26.g_handle         = g_handle;
                    f26.vr               = vr;         //数组
                    f26.codespace        = codespace;  //数组
                    f26.manulradio       = manulradio; //速度比例
                    f26.linenum          = linenum;    //行号
                    f26.filelinepara     = filelinepara;
                    f26.filelintempepara = filelintempepara;
                    f26.codename         = codename;
                    f26.codetempspace    = codetempspace;
                    f26.linejump         = linejump;
                    f26.pagenum          = pagenum;
                    f26.filetoflash      = filetoflash;
                    f26.showidlist       = showidlist;
                    f26.change           = change26;
                    if (this.return_19_文件编辑 != null)
                    {
                        this.return_19_文件编辑.Close(); //关闭上一级窗口
                    }
                    this.Hide();                     //关闭这个窗口
                    f26.Show();                      //新窗口显现
                }
                else
                {
                    this.Close();
                }

                // deal_lineload(linenum);
            }
        }
示例#3
0
 public _50未保存提示(_13参数设置 F13, _15_轴参数设置 F15, _16_机械参数设置 F16, _18_IO映射 F18, _31_复位设置 F31, _14_文件管理 F14, _19_文件编辑 F19, _20_运动类型选择 F20, _21_直线指令 F21, _22_三点圆弧指令 F22, _23_延时指令 F23, _24_输出指令_ F24, _25_输出复位指令 F25, _26_圆心圆弧指令 F26, _27_绝对模式 F27, _28_相对模式 F28)
 {
     InitializeComponent();
     this.return_13参数设置    = F13;
     this.return_15_轴参数设置  = F15;
     this.return_16_机械参数设置 = F16;
     this.return_18_IO映射   = F18;
     this.return_31_复位设置   = F31;
     this.return_14_文件管理   = F14;
     this.return_19_文件编辑   = F19;
     this.return_20_运动类型选择 = F20;
     this.return_21_直线指令   = F21;
     this.return_22_三点圆弧指令 = F22;
     this.return_23_延时指令   = F23;
     this.return_24_输出指令_  = F24;
     this.return_25_输出复位指令 = F25;
     this.return_26_圆心圆弧指令 = F26;
     this.return_27_绝对模式   = F27;
     this.return_28_相对模式   = F28;
 }
示例#4
0
 //刷新显示
 private void show_code(int num)
 {
     if (num == 0)
     {
         codename = "无";
         //进入19界面
     }
     else if (num == 1)
     {
         codename = "直线";
         //21进入直线界面
         if (this.return_20_运动类型选择 == null && this.return_19_文件编辑 != null && this.return_14_文件管理 != null)
         {
             _21_直线指令 f21 = new _21_直线指令(null, this.return_19_文件编辑, this.return_14_文件管理);
             f21.g_handle         = g_handle;
             f21.vr               = vr;         //数组
             f21.codespace        = codespace;  //数组
             f21.manulradio       = manulradio; //速度比例
             f21.linenum          = linenum;    //行号
             f21.filelinepara     = filelinepara;
             f21.filelintempepara = filelintempepara;
             f21.codename         = codename;
             f21.codetempspace    = codetempspace;
             f21.linejump         = linejump;
             f21.pagenum          = pagenum;
             f21.filetoflash      = filetoflash;
             f21.showidlist       = showidlist;
             f21.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f21.Show();   //新窗口显现
         }
         if (this.return_20_运动类型选择 != null && this.return_19_文件编辑 == null && this.return_14_文件管理 != null)
         {
             _21_直线指令 f21 = new _21_直线指令(this.return_20_运动类型选择, null, this.return_14_文件管理);
             f21.g_handle         = g_handle;
             f21.vr               = vr;         //数组
             f21.codespace        = codespace;  //数组
             f21.manulradio       = manulradio; //速度比例
             f21.linenum          = linenum;    //行号
             f21.filelinepara     = filelinepara;
             f21.filelintempepara = filelintempepara;
             f21.codename         = codename;
             f21.codetempspace    = codetempspace;
             f21.linejump         = linejump;
             f21.pagenum          = pagenum;
             f21.filetoflash      = filetoflash;
             f21.showidlist       = showidlist;
             f21.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f21.Show();   //新窗口显现
         }
     }
     else if (num == 2)
     {
         codename = "三点画弧";
         //22进入三点画弧
         if (this.return_20_运动类型选择 == null && this.return_19_文件编辑 != null && this.return_14_文件管理 != null)
         {
             _22_三点圆弧指令 f22 = new _22_三点圆弧指令(null, this.return_19_文件编辑, this.return_14_文件管理);
             f22.g_handle         = g_handle;
             f22.vr               = vr;         //数组
             f22.codespace        = codespace;  //数组
             f22.manulradio       = manulradio; //速度比例
             f22.linenum          = linenum;    //行号
             f22.filelinepara     = filelinepara;
             f22.filelintempepara = filelintempepara;
             f22.codename         = codename;
             f22.codetempspace    = codetempspace;
             f22.linejump         = linejump;
             f22.pagenum          = pagenum;
             f22.filetoflash      = filetoflash;
             f22.showidlist       = showidlist;
             f22.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f22.Show();   //新窗口显现
         }
         if (this.return_20_运动类型选择 != null && this.return_19_文件编辑 == null && this.return_14_文件管理 != null)
         {
             _22_三点圆弧指令 f22 = new _22_三点圆弧指令(this.return_20_运动类型选择, null, this.return_14_文件管理);
             f22.g_handle         = g_handle;
             f22.vr               = vr;         //数组
             f22.codespace        = codespace;  //数组
             f22.manulradio       = manulradio; //速度比例
             f22.linenum          = linenum;    //行号
             f22.filelinepara     = filelinepara;
             f22.filelintempepara = filelintempepara;
             f22.codename         = codename;
             f22.codetempspace    = codetempspace;
             f22.linejump         = linejump;
             f22.pagenum          = pagenum;
             f22.filetoflash      = filetoflash;
             f22.showidlist       = showidlist;
             f22.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f22.Show();   //新窗口显现
         }
     }
     else if (num == 3)
     {
         codename = "延时";
         //23进入延时界面
         if (this.return_20_运动类型选择 == null && this.return_19_文件编辑 != null && this.return_14_文件管理 != null)
         {
             _23_延时指令 f23 = new _23_延时指令(null, this.return_19_文件编辑, this.return_14_文件管理);
             f23.g_handle         = g_handle;
             f23.vr               = vr;         //数组
             f23.codespace        = codespace;  //数组
             f23.manulradio       = manulradio; //速度比例
             f23.linenum          = linenum;    //行号
             f23.filelinepara     = filelinepara;
             f23.filelintempepara = filelintempepara;
             f23.codename         = codename;
             f23.codetempspace    = codetempspace;
             f23.linejump         = linejump;
             f23.pagenum          = pagenum;
             f23.filetoflash      = filetoflash;
             f23.showidlist       = showidlist;
             f23.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f23.Show();   //新窗口显现
         }
         if (this.return_20_运动类型选择 != null && this.return_19_文件编辑 == null && this.return_14_文件管理 != null)
         {
             _23_延时指令 f23 = new _23_延时指令(this.return_20_运动类型选择, null, this.return_14_文件管理);
             f23.g_handle         = g_handle;
             f23.vr               = vr;         //数组
             f23.codespace        = codespace;  //数组
             f23.manulradio       = manulradio; //速度比例
             f23.linenum          = linenum;    //行号
             f23.filelinepara     = filelinepara;
             f23.filelintempepara = filelintempepara;
             f23.codename         = codename;
             f23.codetempspace    = codetempspace;
             f23.linejump         = linejump;
             f23.pagenum          = pagenum;
             f23.filetoflash      = filetoflash;
             f23.showidlist       = showidlist;
             f23.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f23.Show();   //新窗口显现
         }
     }
     else if (num == 4)
     {
         codename = "多个输出";
         //24进入多个输出界面
         if (this.return_20_运动类型选择 == null && this.return_19_文件编辑 != null && this.return_14_文件管理 != null)
         {
             _24_输出指令_ f24 = new _24_输出指令_(null, this.return_19_文件编辑, this.return_14_文件管理);
             f24.g_handle         = g_handle;
             f24.vr               = vr;         //数组
             f24.codespace        = codespace;  //数组
             f24.manulradio       = manulradio; //速度比例
             f24.linenum          = linenum;    //行号
             f24.filelinepara     = filelinepara;
             f24.filelintempepara = filelintempepara;
             f24.codename         = codename;
             f24.codetempspace    = codetempspace;
             f24.linejump         = linejump;
             f24.pagenum          = pagenum;
             f24.filetoflash      = filetoflash;
             f24.showidlist       = showidlist;
             f24.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f24.Show();   //新窗口显现
         }
         if (this.return_20_运动类型选择 != null && this.return_19_文件编辑 == null && this.return_14_文件管理 != null)
         {
             _24_输出指令_ f24 = new _24_输出指令_(this.return_20_运动类型选择, null, this.return_14_文件管理);
             f24.g_handle         = g_handle;
             f24.vr               = vr;         //数组
             f24.codespace        = codespace;  //数组
             f24.manulradio       = manulradio; //速度比例
             f24.linenum          = linenum;    //行号
             f24.filelinepara     = filelinepara;
             f24.filelintempepara = filelintempepara;
             f24.codename         = codename;
             f24.codetempspace    = codetempspace;
             f24.linejump         = linejump;
             f24.pagenum          = pagenum;
             f24.filetoflash      = filetoflash;
             f24.showidlist       = showidlist;
             f24.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f24.Show();   //新窗口显现
         }
     }
     else if (num == 5)
     {
         codename = "输出延时复位";
         //25进入输出延时复位界面
         if (this.return_20_运动类型选择 == null && this.return_19_文件编辑 != null && this.return_14_文件管理 != null)
         {
             _25_输出复位指令 f25 = new _25_输出复位指令(null, this.return_19_文件编辑, this.return_14_文件管理);
             f25.g_handle         = g_handle;
             f25.vr               = vr;         //数组
             f25.codespace        = codespace;  //数组
             f25.manulradio       = manulradio; //速度比例
             f25.linenum          = linenum;    //行号
             f25.filelinepara     = filelinepara;
             f25.filelintempepara = filelintempepara;
             f25.codename         = codename;
             f25.codetempspace    = codetempspace;
             f25.linejump         = linejump;
             f25.pagenum          = pagenum;
             f25.filetoflash      = filetoflash;
             f25.showidlist       = showidlist;
             f25.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f25.Show();   //新窗口显现
         }
         if (this.return_20_运动类型选择 != null && this.return_19_文件编辑 == null && this.return_14_文件管理 != null)
         {
             _25_输出复位指令 f25 = new _25_输出复位指令(this.return_20_运动类型选择, null, this.return_14_文件管理);
             f25.g_handle         = g_handle;
             f25.vr               = vr;         //数组
             f25.codespace        = codespace;  //数组
             f25.manulradio       = manulradio; //速度比例
             f25.linenum          = linenum;    //行号
             f25.filelinepara     = filelinepara;
             f25.filelintempepara = filelintempepara;
             f25.codename         = codename;
             f25.codetempspace    = codetempspace;
             f25.linejump         = linejump;
             f25.pagenum          = pagenum;
             f25.filetoflash      = filetoflash;
             f25.showidlist       = showidlist;
             f25.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f25.Show();   //新窗口显现
         }
     }
     else if (num == 6)
     {
         codename = "圆心画弧";
         //26进入圆心画弧界面
         if (this.return_20_运动类型选择 == null && this.return_19_文件编辑 != null && this.return_14_文件管理 != null)
         {
             _26_圆心圆弧指令 f26 = new _26_圆心圆弧指令(null, this.return_19_文件编辑, this.return_14_文件管理);
             f26.g_handle         = g_handle;
             f26.vr               = vr;         //数组
             f26.codespace        = codespace;  //数组
             f26.manulradio       = manulradio; //速度比例
             f26.linenum          = linenum;    //行号
             f26.filelinepara     = filelinepara;
             f26.filelintempepara = filelintempepara;
             f26.codename         = codename;
             f26.codetempspace    = codetempspace;
             f26.linejump         = linejump;
             f26.pagenum          = pagenum;
             f26.filetoflash      = filetoflash;
             f26.showidlist       = showidlist;
             f26.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f26.Show();   //新窗口显现
         }
         if (this.return_20_运动类型选择 != null && this.return_19_文件编辑 == null && this.return_14_文件管理 != null)
         {
             _26_圆心圆弧指令 f26 = new _26_圆心圆弧指令(this.return_20_运动类型选择, null, this.return_14_文件管理);
             f26.g_handle         = g_handle;
             f26.vr               = vr;         //数组
             f26.codespace        = codespace;  //数组
             f26.manulradio       = manulradio; //速度比例
             f26.linenum          = linenum;    //行号
             f26.filelinepara     = filelinepara;
             f26.filelintempepara = filelintempepara;
             f26.codename         = codename;
             f26.codetempspace    = codetempspace;
             f26.linejump         = linejump;
             f26.pagenum          = pagenum;
             f26.filetoflash      = filetoflash;
             f26.showidlist       = showidlist;
             f26.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f26.Show();   //新窗口显现
         }
     }
     else if (num == 7)
     {
         codename = "绝对模式";
         //27进入绝对模式界面
         if (this.return_20_运动类型选择 == null && this.return_19_文件编辑 != null && this.return_14_文件管理 != null)
         {
             _27_绝对模式 f27 = new _27_绝对模式(null, this.return_19_文件编辑, this.return_14_文件管理);
             f27.g_handle         = g_handle;
             f27.vr               = vr;         //数组
             f27.codespace        = codespace;  //数组
             f27.manulradio       = manulradio; //速度比例
             f27.linenum          = linenum;    //行号
             f27.filelinepara     = filelinepara;
             f27.filelintempepara = filelintempepara;
             f27.codename         = codename;
             f27.codetempspace    = codetempspace;
             f27.linejump         = linejump;
             f27.pagenum          = pagenum;
             f27.filetoflash      = filetoflash;
             f27.showidlist       = showidlist;
             f27.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f27.Show();   //新窗口显现
         }
         if (this.return_20_运动类型选择 != null && this.return_19_文件编辑 == null && this.return_14_文件管理 != null)
         {
             _27_绝对模式 f27 = new _27_绝对模式(this.return_20_运动类型选择, null, this.return_14_文件管理);
             f27.g_handle         = g_handle;
             f27.vr               = vr;         //数组
             f27.codespace        = codespace;  //数组
             f27.manulradio       = manulradio; //速度比例
             f27.linenum          = linenum;    //行号
             f27.filelinepara     = filelinepara;
             f27.filelintempepara = filelintempepara;
             f27.codename         = codename;
             f27.codetempspace    = codetempspace;
             f27.linejump         = linejump;
             f27.pagenum          = pagenum;
             f27.filetoflash      = filetoflash;
             f27.showidlist       = showidlist;
             f27.change           = 1;
             this.Close(); //隐藏现在这个窗口
             f27.Show();   //新窗口显现
         }
     }
     else if (num == 8)
     {
         codename = "相对模式";
         //28进入相对模式界面
         MessageBox.Show("正在这个界面");
     }
 }
示例#5
0
 //刷新显示
 private void show_code(int num)
 {
     if (num == 0)
     {
         codename = "无";
         //进入19界面
         MessageBox.Show("正在这个界面");
     }
     else if (num == 1)
     {
         if (change_21 == 0)
         {
             change_21 = 1;
             codename  = "直线";
             //21进入直线界面
             _21_直线指令 f21 = new _21_直线指令(null, this, this.return_14_文件管理);
             f21.g_handle         = g_handle;
             f21.vr               = vr;         //数组
             f21.codespace        = codespace;  //数组
             f21.manulradio       = manulradio; //速度比例
             f21.linenum          = linenum;    //行号
             f21.filelinepara     = filelinepara;
             f21.filelintempepara = filelintempepara;
             f21.codename         = codename;
             f21.codetempspace    = codetempspace;
             f21.linejump         = linejump;
             f21.pagenum          = pagenum;
             f21.filetoflash      = filetoflash;
             f21.showidlist       = showidlist;
             f21.change           = change_21;
             this.Hide(); //隐藏现在这个窗口
             f21.Show();  //新窗口显现
         }
     }
     else if (num == 2)
     {
         MessageBox.Show(codetempspace[(linenum - 1) * LINESPACE + 5]);
         if (change_22 == 0)
         {
             change_22 = 1;
             codename  = "三点画弧";
             //22进入三点画弧
             _22_三点圆弧指令 f22 = new _22_三点圆弧指令(null, this, this.return_14_文件管理);
             f22.g_handle         = g_handle;
             f22.vr               = vr;         //数组
             f22.codespace        = codespace;  //数组
             f22.manulradio       = manulradio; //速度比例
             f22.linenum          = linenum;    //行号
             f22.filelinepara     = filelinepara;
             f22.filelintempepara = filelintempepara;
             f22.codename         = codename;
             f22.codetempspace    = codetempspace;
             f22.linejump         = linejump;
             f22.pagenum          = pagenum;
             f22.filetoflash      = filetoflash;
             f22.showidlist       = showidlist;
             f22.change           = change_22;
             this.Hide(); //隐藏现在这个窗口
             f22.Show();  //新窗口显现
         }
     }
     else if (num == 3)
     {
         if (change_23 == 0)
         {
             change_23 = 1;
             codename  = "延时";
             //23进入延时界面
             _23_延时指令 f23 = new _23_延时指令(null, this, this.return_14_文件管理);
             f23.g_handle         = g_handle;
             f23.vr               = vr;         //数组
             f23.codespace        = codespace;  //数组
             f23.manulradio       = manulradio; //速度比例
             f23.linenum          = linenum;    //行号
             f23.filelinepara     = filelinepara;
             f23.filelintempepara = filelintempepara;
             f23.codename         = codename;
             f23.codetempspace    = codetempspace;
             f23.linejump         = linejump;
             f23.pagenum          = pagenum;
             f23.filetoflash      = filetoflash;
             f23.showidlist       = showidlist;
             f23.change           = change_23;
             this.Hide(); //隐藏现在这个窗口
             f23.Show();  //新窗口显现
         }
     }
     else if (num == 4)
     {
         if (change_24 == 0)
         {
             change_24 = 1;
             codename  = "多个输出";
             //24进入多个输出界面
             _24_输出指令_ f24 = new _24_输出指令_(null, this, this.return_14_文件管理);
             f24.g_handle         = g_handle;
             f24.vr               = vr;         //数组
             f24.codespace        = codespace;  //数组
             f24.manulradio       = manulradio; //速度比例
             f24.linenum          = linenum;    //行号
             f24.filelinepara     = filelinepara;
             f24.filelintempepara = filelintempepara;
             f24.codename         = codename;
             f24.codetempspace    = codetempspace;
             f24.linejump         = linejump;
             f24.pagenum          = pagenum;
             f24.filetoflash      = filetoflash;
             f24.showidlist       = showidlist;
             f24.change           = change_24;
             this.Hide(); //隐藏现在这个窗口
             f24.Show();  //新窗口显现
         }
     }
     else if (num == 5)
     {
         if (change_25 == 0)
         {
             change_25 = 1;
             codename  = "输出延时复位";
             //25进入输出延时复位界面
             _25_输出复位指令 f25 = new _25_输出复位指令(null, this, this.return_14_文件管理);
             f25.g_handle         = g_handle;
             f25.vr               = vr;         //数组
             f25.codespace        = codespace;  //数组
             f25.manulradio       = manulradio; //速度比例
             f25.linenum          = linenum;    //行号
             f25.filelinepara     = filelinepara;
             f25.filelintempepara = filelintempepara;
             f25.codename         = codename;
             f25.codetempspace    = codetempspace;
             f25.linejump         = linejump;
             f25.pagenum          = pagenum;
             f25.filetoflash      = filetoflash;
             f25.showidlist       = showidlist;
             f25.change           = change_25;
             this.Hide(); //隐藏现在这个窗口
             f25.Show();  //新窗口显现
         }
     }
     else if (num == 6)
     {
         if (change_26 == 0)
         {
             change_26 = 1;
             codename  = "圆心画弧";
             //26进入圆心画弧界面
             _26_圆心圆弧指令 f26 = new _26_圆心圆弧指令(null, this, this.return_14_文件管理);
             f26.g_handle         = g_handle;
             f26.vr               = vr;         //数组
             f26.codespace        = codespace;  //数组
             f26.manulradio       = manulradio; //速度比例
             f26.linenum          = linenum;    //行号
             f26.filelinepara     = filelinepara;
             f26.filelintempepara = filelintempepara;
             f26.codename         = codename;
             f26.codetempspace    = codetempspace;
             f26.linejump         = linejump;
             f26.pagenum          = pagenum;
             f26.filetoflash      = filetoflash;
             f26.showidlist       = showidlist;
             f26.change           = change_26;
             this.Hide(); //隐藏现在这个窗口
             f26.Show();  //新窗口显现
         }
     }
     else if (num == 7)
     {
         if (change_27 == 0)
         {
             change_27 = 1;
             codename  = "绝对模式";
             //27进入绝对模式界面
             _27_绝对模式 f27 = new _27_绝对模式(null, this, this.return_14_文件管理);
             f27.g_handle         = g_handle;
             f27.vr               = vr;         //数组
             f27.codespace        = codespace;  //数组
             f27.manulradio       = manulradio; //速度比例
             f27.linenum          = linenum;    //行号
             f27.filelinepara     = filelinepara;
             f27.filelintempepara = filelintempepara;
             f27.codename         = codename;
             f27.codetempspace    = codetempspace;
             f27.linejump         = linejump;
             f27.pagenum          = pagenum;
             f27.filetoflash      = filetoflash;
             f27.showidlist       = showidlist;
             f27.change           = change_27;
             this.Hide(); //隐藏现在这个窗口
             f27.Show();  //新窗口显现
         }
     }
     else if (num == 8)
     {
         if (change_28 == 0)
         {
             change_28 = 1;
             codename  = "相对模式";
             //28进入相对模式界面
             _28_相对模式 f28 = new _28_相对模式(null, this, this.return_14_文件管理);
             f28.g_handle         = g_handle;
             f28.vr               = vr;         //数组
             f28.codespace        = codespace;  //数组
             f28.manulradio       = manulradio; //速度比例
             f28.linenum          = linenum;    //行号
             f28.filelinepara     = filelinepara;
             f28.filelintempepara = filelintempepara;
             f28.codename         = codename;
             f28.codetempspace    = codetempspace;
             f28.linejump         = linejump;
             f28.pagenum          = pagenum;
             f28.filetoflash      = filetoflash;
             f28.showidlist       = showidlist;
             f28.change           = change_28;
             this.Hide(); //隐藏现在这个窗口
             f28.Show();  //新窗口显现
         }
     }
 }