Example #1
0
        public LotIVTestPrintViewContent()
            : base()
        {
            this.TitleName = StringParser.Parse("${res:FanHai.Hemera.Addins.WIP.LotIVTestPrintViewContent.Title01}");//"终测IV数据";


            //define panel
            Panel panel = new Panel();

            //set panel dock style
            panel.Dock = DockStyle.Fill;
            //set panel BorderStyle
            panel.BorderStyle = BorderStyle.FixedSingle;

            LotIVTestPrint lotIvTestPrint = new LotIVTestPrint();

            lotIvTestPrint.Dock = DockStyle.Fill;
            //add control to panle
            panel.Controls.Add(lotIvTestPrint);
            //set panel to view content
            this.control = panel;
        }
Example #2
0
        public LotIVTestPrintViewContent2()
            : base()
        {
            this.TitleName = "IVTEST打印";


            //define panel
            Panel panel = new Panel();

            //set panel dock style
            panel.Dock = DockStyle.Fill;
            //set panel BorderStyle
            panel.BorderStyle = BorderStyle.FixedSingle;

            //LotIVTestPrintDialog4 lotIvTestPrint = new LotIVTestPrintDialog4();
            LotIVTestPrint lotIvTestPrint = new LotIVTestPrint();

            lotIvTestPrint.Dock = DockStyle.Fill;
            //add control to panle
            panel.Controls.Add(lotIvTestPrint);
            //set panel to view content
            this.control = panel;
        }