📜  从另一个类 c# 代码示例访问标签

📅  最后修改于: 2022-03-11 14:48:57.300000             🧑  作者: Mango

代码示例1
//Form1
public static Form1 form = null;

        public Form1()
        {
            InitializeComponent();          
            form = this;
        }

// Your Class

Form1.form.label1.Text = "Hello, World!";