Example #1
0
        private void openNewForm(String hn, String txt)
        {
            FrmScanView1 frm = new FrmScanView1(bc, hn, "");

            frm.FormBorderStyle = FormBorderStyle.None;
            AddNewTab(frm, txt);
        }
Example #2
0
        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();
        }