示例#1
0
        private void Initialize()
        {
            m_ScanControlSub2A        = new ScanPrimary2ControlSub2BSub1();
            m_ScanControlSub2A.Parent = this.axTabControl;

            this.axTabControl.InsertItem(0, "扫描设置A", m_ScanControlSub2A.Handle.ToInt32(), 0);

            m_ScanControlSub2B        = new ScanPrimary2ControlSub2BSub2();
            m_ScanControlSub2B.Parent = this.axTabControl;

            this.axTabControl.InsertItem(1, "扫描设置B", m_ScanControlSub2B.Handle.ToInt32(), 0);


            m_ScanControlSub2C        = new ScanPrimary2ControlSub2BSub3();
            m_ScanControlSub2C.Parent = this.axTabControl;
            this.axTabControl.InsertItem(2, "扫描设置C", m_ScanControlSub2C.Handle.ToInt32(), 0);
        }
        private void Initialize()
        {
            m_ScanControlSub2A = new ScanPrimary2ControlSub2BSub1();
            m_ScanControlSub2A.Parent = this.axTabControl;

            this.axTabControl.InsertItem( 0, "扫描设置A", m_ScanControlSub2A.Handle.ToInt32(), 0 );

            m_ScanControlSub2B = new ScanPrimary2ControlSub2BSub2();
            m_ScanControlSub2B.Parent = this.axTabControl;

            this.axTabControl.InsertItem( 1, "扫描设置B", m_ScanControlSub2B.Handle.ToInt32(), 0 );


            m_ScanControlSub2C = new ScanPrimary2ControlSub2BSub3();
            m_ScanControlSub2C.Parent = this.axTabControl;
            this.axTabControl.InsertItem( 2, "扫描设置C", m_ScanControlSub2C.Handle.ToInt32(), 0 );
        }