修改继承窗体中的控件属性

实现效果:

    

知识运用:

  控件的Modifiers属性  //用来指定控件对象的可见级别

  

实现代码:

  protected System.Windows.Forms.Button button1;  //效果同下

  

原文地址:https://www.cnblogs.com/feiyucha/p/10134024.html