private void Form1_Load(object sender, EventArgs e) { ShowText = new showText(setText); InitializeServer.form = this; #region 初始化控件状态 初始为手动模式 pictureBox1.Visible = false; pictureBox2.Visible = false; pictureBox5.Visible = false; button1.Enabled = false; button3.Enabled = false; button4.Enabled = false; button5.Enabled = false; button8.Enabled = false; button6.Enabled = false; button9.Enabled = false; button10.Enabled = false; vScrollBar1.Enabled = false; vScrollBar2.Enabled = false; this.ActiveControl = showResult; #endregion }
public EditKhoHang() { InitializeComponent(); showText text = new showText(show); }