private void Initialize() { m_ScanControlSub2A = new ScanPrimary2ControlSub2ESub1(); m_ScanControlSub2A.Parent = this.axTabControl; this.axTabControl.InsertItem( 0, "扫描设置A", m_ScanControlSub2A.Handle.ToInt32(), 0 ); m_ScanControlSub2B = new ScanPrimary2ControlSub2ESub2(); m_ScanControlSub2B.Parent = this.axTabControl; this.axTabControl.InsertItem( 1, "扫描设置B", m_ScanControlSub2B.Handle.ToInt32(), 0 ); m_ScanControlSub2C = new ScanPrimary2ControlSub2ESub3(); m_ScanControlSub2C.Parent = this.axTabControl; this.axTabControl.InsertItem( 2, "扫描设置C", m_ScanControlSub2C.Handle.ToInt32(), 0 ); }
private void Initialize() { m_ScanControlSub2A = new ScanPrimary2ControlSub2ESub1(); m_ScanControlSub2A.Parent = this.axTabControl; this.axTabControl.InsertItem(0, "扫描设置A", m_ScanControlSub2A.Handle.ToInt32(), 0); m_ScanControlSub2B = new ScanPrimary2ControlSub2ESub2(); m_ScanControlSub2B.Parent = this.axTabControl; this.axTabControl.InsertItem(1, "扫描设置B", m_ScanControlSub2B.Handle.ToInt32(), 0); m_ScanControlSub2C = new ScanPrimary2ControlSub2ESub3(); m_ScanControlSub2C.Parent = this.axTabControl; this.axTabControl.InsertItem(2, "扫描设置C", m_ScanControlSub2C.Handle.ToInt32(), 0); }