private void main_Load(object sender, EventArgs e) { permission(); setMenuStrip(); Load_Class lc = new Load_Class(this); lc.Dock = DockStyle.Fill; panel1.Controls.Add(lc); }
public main() { string s = "09"; InitializeComponent(); Load_Class lc = new Load_Class(this); lc.Dock = DockStyle.Fill; panel1.Controls.Add(lc); IsUnitTest = true; }