zoukankan      html  css  js  c++  java
  • New Class

    1): New a class, which can be used in the form1.
    Write following code in form1.
       private AxisLimits al;  // This command will define a private variable al, this al
                                      //  variable has the characteristic of Class AxisLimits.
            private form1()
           {
              initialization...
              a1 = new AxisLimits();
           }
            private void AxisLimitSettings()
            {
             Applicationdata.ListXMax.Add(al.XMax);
             }
            private ...
              {
               }
    -------------------------
    al can be used in form1, and all method in form1.
    ===========================================
    2): New a class, which can be used in a single method

       private form1()
            {
              initialization...
             }
            private void AxisLimitSettings()
            {
             AxisLimits a1 = new AxisLimits();
             Applicationdata.ListXMax.Add(al.XMax);
             }
            private ...
              {
               }

        a1 can be used in AxisLimitSettings.




  • 相关阅读:
    JQ_浏览器窗口改变触发
    5. 通过PHP反序列化进行远程代码执行
    2. 文件包含(150)
    1. md5 collision(50)
    4.xpath注入详解
    2.HTTP头注入
    1.5 xss漏洞修复
    1.4 DVWA亲测XSS漏洞
    1.如何绕过WAF(Web应用防火墙)
    1.3 xss原理分析与剖析(4)
  • 原文地址:https://www.cnblogs.com/greencolor/p/1565060.html
Copyright © 2011-2022 走看看