示例#1
0
        private void personToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Utility.UI.Authority.FrmPerson f = new FrmPerson();
            string tabPageText = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#2
0
        private void classTestToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmComboxColumn f           = new FrmComboxColumn();
            string          tabPageText = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#3
0
        private void erroProviderToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form2  f           = new Form2();
            string tabPageText = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#4
0
        private void mutiPagePrintingToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmMutiplePagePrinting f = new FrmMutiplePagePrinting();
            string tabPageText       = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#5
0
        private void importFromExcelToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmImportExcel f           = new FrmImportExcel();
            string         tabPageText = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#6
0
        private void dataGridViewExtentionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmDataGridViewExtention f = new FrmDataGridViewExtention();
            string tabPageText         = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#7
0
        private void TsmButtonColumn_Click(object sender, EventArgs e)
        {
            FrmButtonColumn f           = new FrmButtonColumn();
            string          tabPageText = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#8
0
        private void readPdfToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmPDF f           = new FrmPDF();
            string tabPageText = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#9
0
        private void 档案列表ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            UI.Frm_listTest f           = new UI.Frm_listTest();
            string          tabPageText = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#10
0
        private void webBrowserToolStripMenuItem_Click(object sender, EventArgs e)
        {
            richBox f           = new richBox();
            string  tabPageText = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#11
0
        private void 登录数据库配置ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Frm_DoubleDB_loginConfig f = new Frm_DoubleDB_loginConfig();
            string tabPageText         = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#12
0
        private void adminToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Config f           = new Config();
            string tabPageText = f.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(f, tabPageText, tabControl1, panel1);
        }
示例#13
0
        private void 单表合一ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Frm_report frm_Config  = new Frm_report();
            string     tabPageText = frm_Config.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(frm_Config, tabPageText, tabControl1, panel1);
        }
示例#14
0
        private void 数据库配置ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Frm_DoubleDataBaseConfig frm_Config = new Frm_DoubleDataBaseConfig();
            string tabPageText = frm_Config.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(frm_Config, tabPageText, tabControl1, panel1);
        }
示例#15
0
        private void 图片转ICONToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Utility.Frm_imageFormatConvert frm_Child = new Frm_imageFormatConvert();
            string tabPageText = frm_Child.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(frm_Child, tabPageText, tabControl1, panel1);
        }
示例#16
0
        private void 子窗体ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Frm_child frm_Child   = new Frm_child();
            string    tabPageText = frm_Child.Text;

            Utility.UI.EmbedForm embed = new Utility.UI.EmbedForm();
            embed.openForm(frm_Child, tabPageText, tabControl1, panel1);
        }
示例#17
0
 private void initialize()
 {
     if (ConfigurationManager.ConnectionStrings["myConcetion"] == null)
     {
         Frm_config           frm_Config  = new Frm_config();
         string               tabPageText = frm_Config.Text;
         Utility.UI.EmbedForm embed       = new Utility.UI.EmbedForm();
         embed.openForm(frm_Config, tabPageText, tabControl1, panel1);
     }
 }