private void openNewForm(String hn, String txt) { FrmScanView1 frm = new FrmScanView1(bc, hn, ""); frm.FormBorderStyle = FormBorderStyle.None; AddNewTab(frm, txt); }
private void MenuScanView_Click(object sender, EventArgs e) { //throw new NotImplementedException(); FrmScanView1 frm = new FrmScanView1(bc, "show"); frm.FormBorderStyle = FormBorderStyle.None; AddNewTab(frm, menuScanView.Text + " "); }
private void openNewForm(String hn, String txt) { showFormWaiting(); //MessageBox.Show("11", ""); FrmScanView1 frm = new FrmScanView1(bc, hn, "hide"); //frm.FormBorderStyle = FormBorderStyle.None; //AddNewTab(frm, txt); frm.FormBorderStyle = FormBorderStyle.FixedSingle; frm.WindowState = FormWindowState.Maximized; frm.Show(this); txtPttHn.Value = ""; frmFlash.Dispose(); }