不同的容器里实现 RadioButton的单选

请教一个各位牛人一个问题,如图:    (问题解决,见后面的解决方案~~)


怎么在不同的winform容器(GroupBox)里实现 RadioButton (如图中两个“详细照会”)的单选,请各位牛人给出实现的思路,不甚感谢。

GroupBox() 送り状情報1,送り状情報2......是动态生成的。

以下是具体的生成代码:

 

    Private Sub InitProcess()

        
If (m_DataVale Is Nothing) Then
            
Me.Visible = False
            
Return
        
End If
        
If m_DataVale.Rows.Count < 1 Then
            
Me.Visible = False
            
Return
        
End If

        
Dim intDataCount As Integer = m_DataVale.Rows.Count

        
Dim intGroupX As Integer = 8
        
Dim intGroupY As Integer = 5
        
Dim intGroupHeight As Integer = 170
        
Dim intGroupWidth As Integer = GroupBox1.Width - 17
        
Dim group(intDataCount) As System.Windows.Forms.GroupBox

        
'詳細照会
        Dim RB_INFO(intDataCount) As System.Windows.Forms.RadioButton
        
'送付先変更
        Dim LB_ARR_FIXED_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_ARR_FIXED(intDataCount) As System.Windows.Forms.Label
        
'問番
        Dim LB_CO_DELIVERY_NO_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_CO_DELIVERY_NO(intDataCount) As System.Windows.Forms.Label
        
'発送ロット
        Dim LB_HASSOU_LOT_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_HASSOU_LOT(intDataCount) As System.Windows.Forms.Label
        
'発送管理No
        Dim LB_LOT_SEQ_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_LOT_SEQ(intDataCount) As System.Windows.Forms.Label
        
'発送日
        Dim LB_SENDDATE_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_SENDDATE(intDataCount) As System.Windows.Forms.Label
        
'送り状定義
        Dim LB_LABEL_DEF_NM_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_LABEL_DEF_NM(intDataCount) As System.Windows.Forms.Label
        
'最新配送状況
        Dim LB_STATS_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_STATS(intDataCount) As System.Windows.Forms.Label
        
'メモ()
        Dim LB_TB_MEMO(intDataCount) As System.Windows.Forms.Label
        
Dim TB_MEMO(intDataCount) As System.Windows.Forms.TextBox

        
Dim i As Integer
        
For i = 0 To intDataCount - 1
            
'送り状情報 連番
            group(i) = New System.Windows.Forms.GroupBox
            group(i).Text 
= "送り状情報" & i + 1
            group(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            group(i).Height 
= intGroupHeight
            group(i).Width 
= intGroupWidth
            group(i).Location 
= New System.Drawing.Point(intGroupX, (1 + i) * intGroupY + intGroupHeight * i)

            
'詳細照会
            RB_INFO(i) = New System.Windows.Forms.RadioButton
            RB_INFO(i).Text 
= "詳細照会"
            RB_INFO(i).Location 
= New System.Drawing.Point(10, 15)
            RB_INFO(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            
'送付先変更
            LB_ARR_FIXED_TITLE(i) = New System.Windows.Forms.Label
            LB_ARR_FIXED_TITLE(i).Text 
= "送付先変更"
            LB_ARR_FIXED_TITLE(i).Location 
= New System.Drawing.Point(10, 40)
            LB_ARR_FIXED_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_ARR_FIXED_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_ARR_FIXED_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_ARR_FIXED_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_ARR_FIXED_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_ARR_FIXED(i) 
= New System.Windows.Forms.Label
            LB_ARR_FIXED(i).Text 
= "有"
            LB_ARR_FIXED(i).Location 
= New System.Drawing.Point(112, 40)
            LB_ARR_FIXED(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_ARR_FIXED(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_ARR_FIXED(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_ARR_FIXED(i).Size 
= New System.Drawing.Size(30, 23)
            LB_ARR_FIXED(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_ARR_FIXED(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("送付先変更"))

            
'問番
            LB_CO_DELIVERY_NO_TITLE(i) = New System.Windows.Forms.Label
            LB_CO_DELIVERY_NO_TITLE(i).Text 
= "問番"
            LB_CO_DELIVERY_NO_TITLE(i).Location 
= New System.Drawing.Point(10, 64)
            LB_CO_DELIVERY_NO_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_CO_DELIVERY_NO_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_CO_DELIVERY_NO_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_CO_DELIVERY_NO_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_CO_DELIVERY_NO_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_CO_DELIVERY_NO(i) 
= New System.Windows.Forms.Label
            LB_CO_DELIVERY_NO(i).Location 
= New System.Drawing.Point(112, 64)
            LB_CO_DELIVERY_NO(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_CO_DELIVERY_NO(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_CO_DELIVERY_NO(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_CO_DELIVERY_NO(i).Size 
= New System.Drawing.Size(128, 23)
            LB_CO_DELIVERY_NO(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_CO_DELIVERY_NO(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("問番"))
            
'発送ロット
            LB_HASSOU_LOT_TITLE(i) = New System.Windows.Forms.Label
            LB_HASSOU_LOT_TITLE(i).Text 
= "発送ロット"
            LB_HASSOU_LOT_TITLE(i).Location 
= New System.Drawing.Point(248, 64)
            LB_HASSOU_LOT_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_HASSOU_LOT_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_HASSOU_LOT_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_HASSOU_LOT_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_HASSOU_LOT_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_HASSOU_LOT(i) 
= New System.Windows.Forms.Label
            LB_HASSOU_LOT(i).Location 
= New System.Drawing.Point(350, 64)
            LB_HASSOU_LOT(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_HASSOU_LOT(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_HASSOU_LOT(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_HASSOU_LOT(i).Size 
= New System.Drawing.Size(108, 23)
            LB_HASSOU_LOT(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_HASSOU_LOT(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("発送ロット"))
            
'発送管理No
            LB_LOT_SEQ_TITLE(i) = New System.Windows.Forms.Label
            LB_LOT_SEQ_TITLE(i).Text 
= "発送管理No"
            LB_LOT_SEQ_TITLE(i).Location 
= New System.Drawing.Point(464, 64)
            LB_LOT_SEQ_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_LOT_SEQ_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_LOT_SEQ_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_LOT_SEQ_TITLE(i).Size 
= New System.Drawing.Size(111, 23)
            LB_LOT_SEQ_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_LOT_SEQ(i) 
= New System.Windows.Forms.Label
            LB_LOT_SEQ(i).Text 
= "H2232+5645"
            LB_LOT_SEQ(i).Location 
= New System.Drawing.Point(575, 64)
            LB_LOT_SEQ(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_LOT_SEQ(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_LOT_SEQ(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_LOT_SEQ(i).Size 
= New System.Drawing.Size(128, 23)
            LB_LOT_SEQ(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_LOT_SEQ(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("発送管理No"))
            
'発送日
            LB_SENDDATE_TITLE(i) = New System.Windows.Forms.Label
            LB_SENDDATE_TITLE(i).Text 
= "発送日"
            LB_SENDDATE_TITLE(i).Location 
= New System.Drawing.Point(708, 64)
            LB_SENDDATE_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_SENDDATE_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_SENDDATE_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_SENDDATE_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_SENDDATE_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_SENDDATE(i) 
= New System.Windows.Forms.Label
            LB_SENDDATE(i).Location 
= New System.Drawing.Point(810, 64)
            LB_SENDDATE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_SENDDATE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_SENDDATE(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_SENDDATE(i).Size 
= New System.Drawing.Size(100, 23)
            LB_SENDDATE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_SENDDATE(i).Text 
= mdlFunction.FormatDataToYMD(mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("発送日")))
            
'送り状定義
            LB_LABEL_DEF_NM_TITLE(i) = New System.Windows.Forms.Label
            LB_LABEL_DEF_NM_TITLE(i).Text 
= "送り状定義"
            LB_LABEL_DEF_NM_TITLE(i).Location 
= New System.Drawing.Point(10, 88)
            LB_LABEL_DEF_NM_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_LABEL_DEF_NM_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_LABEL_DEF_NM_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_LABEL_DEF_NM_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_LABEL_DEF_NM_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_LABEL_DEF_NM(i) 
= New System.Windows.Forms.Label
            LB_LABEL_DEF_NM(i).Location 
= New System.Drawing.Point(112, 88)
            LB_LABEL_DEF_NM(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_LABEL_DEF_NM(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_LABEL_DEF_NM(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_LABEL_DEF_NM(i).Size 
= New System.Drawing.Size(346, 23)
            LB_LABEL_DEF_NM(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_LABEL_DEF_NM(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("送り状定義"))
            
'最新配送状況 
            LB_STATS_TITLE(i) = New System.Windows.Forms.Label
            LB_STATS_TITLE(i).Text 
= "最新配送状況"
            LB_STATS_TITLE(i).Location 
= New System.Drawing.Point(464, 88)
            LB_STATS_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_STATS_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_STATS_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_STATS_TITLE(i).Size 
= New System.Drawing.Size(111, 23)
            LB_STATS_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_STATS(i) 
= New System.Windows.Forms.Label
            LB_STATS(i).Location 
= New System.Drawing.Point(575, 88)
            LB_STATS(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_STATS(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_STATS(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_STATS(i).Size 
= New System.Drawing.Size(128, 23)
            LB_STATS(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_STATS(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("最新配送状況"))
            
'メモ
            LB_TB_MEMO(i) = New System.Windows.Forms.Label
            LB_TB_MEMO(i).Text 
= "メモ"
            LB_TB_MEMO(i).Location 
= New System.Drawing.Point(10, 112)
            LB_TB_MEMO(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_TB_MEMO(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_TB_MEMO(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_TB_MEMO(i).Size 
= New System.Drawing.Size(102, 23)
            LB_TB_MEMO(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            TB_MEMO(i) 
= New System.Windows.Forms.TextBox
            TB_MEMO(i).Location 
= New System.Drawing.Point(112, 112)
            TB_MEMO(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            TB_MEMO(i).TextAlign 
= System.Windows.Forms.HorizontalAlignment.Left
            TB_MEMO(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            TB_MEMO(i).Size 
= New System.Drawing.Size(800, 46)
            TB_MEMO(i).Multiline 
= True
            TB_MEMO(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            TB_MEMO(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("メモ"))

            group(i).Controls.Add(RB_INFO(i))
            group(i).Controls.Add(LB_ARR_FIXED_TITLE(i))
            group(i).Controls.Add(LB_ARR_FIXED(i))
            group(i).Controls.Add(LB_CO_DELIVERY_NO_TITLE(i))
            group(i).Controls.Add(LB_CO_DELIVERY_NO(i))
            group(i).Controls.Add(LB_HASSOU_LOT_TITLE(i))
            group(i).Controls.Add(LB_HASSOU_LOT(i))
            group(i).Controls.Add(LB_LOT_SEQ_TITLE(i))
            group(i).Controls.Add(LB_LOT_SEQ(i))
            group(i).Controls.Add(LB_SENDDATE_TITLE(i))
            group(i).Controls.Add(LB_SENDDATE(i))
            group(i).Controls.Add(LB_LABEL_DEF_NM_TITLE(i))
            group(i).Controls.Add(LB_LABEL_DEF_NM(i))
            group(i).Controls.Add(LB_STATS_TITLE(i))
            group(i).Controls.Add(LB_STATS(i))
            group(i).Controls.Add(LB_TB_MEMO(i))
            group(i).Controls.Add(TB_MEMO(i))
            GroupBox1.Controls.Add(group(i))
        
Next

        
If (1 + i) * intGroupY + intGroupHeight * i > Me.Height Then
            GroupBox1.Height 
= (1 + i) * intGroupY + intGroupHeight * i
        
Else
            GroupBox1.Height 
= Me.Height
        
End If
        m_ArrRB_INFO 
= RB_INFO
        m_ArrLB_ARR_FIXED 
= LB_ARR_FIXED
        m_ArrLB_CO_DELIVERY_NO 
= LB_CO_DELIVERY_NO
        m_ArrLB_HASSOU_LOT 
= LB_HASSOU_LOT
        m_ArrLB_SENDDATE 
= LB_SENDDATE
        m_ArrLB_LABEL_DEF_NM 
= LB_LABEL_DEF_NM
        m_ArrLB_STATS 
= LB_STATS
        m_ArrTB_MEMO 
= TB_MEMO
    
End Sub

 

也希望DuDu 能原谅我这种提问的方式,不要删贴啊~~!谢谢!

 

解决后的代码:

Imports BusinessSSP
Public Class GroupRepeate
    
Inherits System.Windows.Forms.UserControl
    
Dim m_DataVale As DataTable

    
Public Property DataVale() As DataTable
        
Get
            
Return m_DataVale
        
End Get
        
Set(ByVal Value As DataTable)
            m_DataVale 
= Value
        
End Set
    
End Property

    
Public Shadows Event GotFocus(ByVal sender As Object, ByVal e As System.EventArgs)

    
'Dim intDataCount As Integer
    'Public Property DataCount() As Integer
    '    Get
    '        Return intDataCount
    '    End Get
    '    Set(ByVal Value As Integer)
    '        intDataCount = Value
    '    End Set
    'End Property

    
'詳細照会
    Private m_ArrRB_INFO() As System.Windows.Forms.RadioButton
    
Public Property ArrRB_INFO() As System.Windows.Forms.RadioButton()
        
Get
            
Return m_ArrRB_INFO
        
End Get
        
Set(ByVal Value() As System.Windows.Forms.RadioButton)
            m_ArrRB_INFO 
= Value
        
End Set
    
End Property
    
'送付先変更
    Private m_ArrLB_ARR_FIXED() As System.Windows.Forms.Label
    
Public Property ArrLB_ARR_FIXED() As System.Windows.Forms.Label()
        
Get
            
Return m_ArrLB_ARR_FIXED
        
End Get
        
Set(ByVal Value() As System.Windows.Forms.Label)
            m_ArrLB_ARR_FIXED 
= Value
        
End Set
    
End Property
    
'問番
    Private m_ArrLB_CO_DELIVERY_NO() As System.Windows.Forms.Label
    
Public Property ArrLB_CO_DELIVERY_NO() As System.Windows.Forms.Label()
        
Get
            
Return m_ArrLB_CO_DELIVERY_NO
        
End Get
        
Set(ByVal Value() As System.Windows.Forms.Label)
            m_ArrLB_CO_DELIVERY_NO 
= Value
        
End Set
    
End Property
    
'発送ロット
    Private m_ArrLB_HASSOU_LOT() As System.Windows.Forms.Label
    
Public Property ArrLB_HASSOU_LOT() As System.Windows.Forms.Label()
        
Get
            
Return m_ArrLB_HASSOU_LOT
        
End Get
        
Set(ByVal Value() As System.Windows.Forms.Label)
            m_ArrLB_HASSOU_LOT 
= Value
        
End Set
    
End Property
    
'発送管理No
    Private m_ArrLB_LOT_SEQ() As System.Windows.Forms.Label
    
Public Property ArrLB_LOT_SEQ() As System.Windows.Forms.Label()
        
Get
            
Return m_ArrLB_LOT_SEQ
        
End Get
        
Set(ByVal Value() As System.Windows.Forms.Label)
            m_ArrLB_LOT_SEQ 
= Value
        
End Set
    
End Property
    
'発送日
    Private m_ArrLB_SENDDATE() As System.Windows.Forms.Label
    
Public Property ArrLB_SENDDATE() As System.Windows.Forms.Label()
        
Get
            
Return m_ArrLB_SENDDATE
        
End Get
        
Set(ByVal Value() As System.Windows.Forms.Label)
            m_ArrLB_SENDDATE 
= Value
        
End Set
    
End Property
    
'送り状定義
    Private m_ArrLB_LABEL_DEF_NM() As System.Windows.Forms.Label
    
Public Property ArrLB_LABEL_DEF_NM() As System.Windows.Forms.Label()
        
Get
            
Return m_ArrLB_LABEL_DEF_NM
        
End Get
        
Set(ByVal Value() As System.Windows.Forms.Label)
            m_ArrLB_LABEL_DEF_NM 
= Value
        
End Set
    
End Property

    
'最新配送状況
    Private m_ArrLB_STATS() As System.Windows.Forms.Label
    
Friend WithEvents GroupBox1 As System.Windows.Forms.Panel
    
Public Property ArrLB_STATS() As System.Windows.Forms.Label()
        
Get
            
Return m_ArrLB_STATS
        
End Get
        
Set(ByVal Value() As System.Windows.Forms.Label)
            m_ArrLB_STATS 
= Value
        
End Set
    
End Property
    
'メモ()
    Private m_ArrTB_MEMO() As System.Windows.Forms.TextBox
    
Public Property ArrTB_MEMO() As System.Windows.Forms.TextBox()
        
Get
            
Return m_ArrTB_MEMO
        
End Get
        
Set(ByVal Value() As System.Windows.Forms.TextBox)
            m_ArrTB_MEMO 
= Value
        
End Set
    
End Property


#Region " Windows フォーム デザイナで生成されたコード "

    
Public Sub New()
        
MyBase.New()

        
' この呼び出しは Windows フォーム デザイナで必要です。
        InitializeComponent()

        
' InitializeComponent() 呼び出しの後に初期化を追加します。

    
End Sub

    
'UserControl はコンポーネント一覧を消去するために dispose をオーバーライドします。
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        
If disposing Then
            
If Not (components Is Nothing) Then
                components.Dispose()
            
End If
        
End If
        
MyBase.Dispose(disposing)
    
End Sub

    
' Windows フォーム デザイナで必要です。
    Private components As System.ComponentModel.IContainer

    
' メモ : 以下のプロシージャは、Windows フォーム デザイナで必要です。
    'Windows フォーム デザイナを使って変更してください。  
    ' コード エディタを使って変更しないでください。
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        
Me.GroupBox1 = New System.Windows.Forms.Panel
        
Me.SuspendLayout()
        
'
        'GroupBox1
        '
        Me.GroupBox1.Location = New System.Drawing.Point(0, 0)
        
Me.GroupBox1.Name = "GroupBox1"
        
Me.GroupBox1.Size = New System.Drawing.Size(956, 355)
        
Me.GroupBox1.TabIndex = 0
        
'
        'GroupRepeate
        '
        Me.AutoScroll = True
        
Me.Controls.Add(Me.GroupBox1)
        
Me.Name = "GroupRepeate"
        
Me.Size = New System.Drawing.Size(956, 355)
        
Me.ResumeLayout(False)

    
End Sub

#End Region

    
Private Sub GroupRepeate_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
        GroupBox1.Width 
= Me.Width - 17
        InitProcess()
    
End Sub


    
'************************************************************
    '関数名         : GroupRepeate.InitProcess
    '機能説明       : 送り状情報 連番                
    '入力値         : 無し
    '出力値         : 無し
    '戻り値         : 
    'その他         : 
    '作成者        : 童斌
    '作成日付       : 2009/02/25
    '***********************************************************
    Private Sub InitProcess()

        
If (m_DataVale Is Nothing) Then
            
Me.Visible = False
            
Return
        
End If
        
If m_DataVale.Rows.Count < 1 Then
            
Me.Visible = False
            
Return
        
End If

        
Dim intDataCount As Integer = m_DataVale.Rows.Count

        
Dim intGroupX As Integer = 8
        
Dim intGroupY As Integer = 5
        
Dim intGroupHeight As Integer = 170
        
Dim intGroupWidth As Integer = GroupBox1.Width - 17
        
Dim group(intDataCount) As System.Windows.Forms.GroupBox

        
'詳細照会
        Dim RB_INFO(intDataCount) As System.Windows.Forms.RadioButton

        
Dim intGroupRBX As Integer = 15
        Dim intGroupRBY As Integer = 15

        
'送付先変更
        Dim LB_ARR_FIXED_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_ARR_FIXED(intDataCount) As System.Windows.Forms.Label
        
'問番
        Dim LB_CO_DELIVERY_NO_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_CO_DELIVERY_NO(intDataCount) As System.Windows.Forms.Label
        
'発送ロット
        Dim LB_HASSOU_LOT_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_HASSOU_LOT(intDataCount) As System.Windows.Forms.Label
        
'発送管理No
        Dim LB_LOT_SEQ_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_LOT_SEQ(intDataCount) As System.Windows.Forms.Label
        
'発送日
        Dim LB_SENDDATE_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_SENDDATE(intDataCount) As System.Windows.Forms.Label
        
'送り状定義
        Dim LB_LABEL_DEF_NM_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_LABEL_DEF_NM(intDataCount) As System.Windows.Forms.Label
        
'最新配送状況
        Dim LB_STATS_TITLE(intDataCount) As System.Windows.Forms.Label
        
Dim LB_STATS(intDataCount) As System.Windows.Forms.Label
        
'メモ()
        Dim LB_TB_MEMO(intDataCount) As System.Windows.Forms.Label
        
Dim TB_MEMO(intDataCount) As System.Windows.Forms.TextBox

        
Dim i As Integer
        
For i = 0 To intDataCount - 1
            
'送り状情報 連番
            group(i) = New System.Windows.Forms.GroupBox
            group(i).Text 
= "送り状情報" & i + 1
            group(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            group(i).Height 
= intGroupHeight
            group(i).Width 
= intGroupWidth
            group(i).Location 
= New System.Drawing.Point(intGroupX, (1 + i) * intGroupY + intGroupHeight * i)

            
'詳細照会
            RB_INFO(i) = New System.Windows.Forms.RadioButton
            RB_INFO(i).Text 
= "詳細照会"
           
 RB_INFO(i).Location = New System.Drawing.Point(intGroupRBX, group(i).Location.Y + intGroupRBY)
            RB_INFO(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            RB_INFO(i).Name 
= "RB" & i
            
'送付先変更
            LB_ARR_FIXED_TITLE(i) = New System.Windows.Forms.Label
            LB_ARR_FIXED_TITLE(i).Text 
= "送付先変更"
            LB_ARR_FIXED_TITLE(i).Location 
= New System.Drawing.Point(10, 40)
            LB_ARR_FIXED_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_ARR_FIXED_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_ARR_FIXED_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_ARR_FIXED_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_ARR_FIXED_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_ARR_FIXED(i) 
= New System.Windows.Forms.Label
            LB_ARR_FIXED(i).Text 
= "有"
            LB_ARR_FIXED(i).Location 
= New System.Drawing.Point(112, 40)
            LB_ARR_FIXED(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_ARR_FIXED(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_ARR_FIXED(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_ARR_FIXED(i).Size 
= New System.Drawing.Size(30, 23)
            LB_ARR_FIXED(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_ARR_FIXED(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("送付先変更"))

            
'問番
            LB_CO_DELIVERY_NO_TITLE(i) = New System.Windows.Forms.Label
            LB_CO_DELIVERY_NO_TITLE(i).Text 
= "問番"
            LB_CO_DELIVERY_NO_TITLE(i).Location 
= New System.Drawing.Point(10, 64)
            LB_CO_DELIVERY_NO_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_CO_DELIVERY_NO_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_CO_DELIVERY_NO_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_CO_DELIVERY_NO_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_CO_DELIVERY_NO_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_CO_DELIVERY_NO(i) 
= New System.Windows.Forms.Label
            LB_CO_DELIVERY_NO(i).Location 
= New System.Drawing.Point(112, 64)
            LB_CO_DELIVERY_NO(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_CO_DELIVERY_NO(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_CO_DELIVERY_NO(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_CO_DELIVERY_NO(i).Size 
= New System.Drawing.Size(128, 23)
            LB_CO_DELIVERY_NO(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_CO_DELIVERY_NO(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("問番"))
            
'発送ロット
            LB_HASSOU_LOT_TITLE(i) = New System.Windows.Forms.Label
            LB_HASSOU_LOT_TITLE(i).Text 
= "発送ロット"
            LB_HASSOU_LOT_TITLE(i).Location 
= New System.Drawing.Point(248, 64)
            LB_HASSOU_LOT_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_HASSOU_LOT_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_HASSOU_LOT_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_HASSOU_LOT_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_HASSOU_LOT_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_HASSOU_LOT(i) 
= New System.Windows.Forms.Label
            LB_HASSOU_LOT(i).Location 
= New System.Drawing.Point(350, 64)
            LB_HASSOU_LOT(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_HASSOU_LOT(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_HASSOU_LOT(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_HASSOU_LOT(i).Size 
= New System.Drawing.Size(108, 23)
            LB_HASSOU_LOT(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_HASSOU_LOT(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("発送ロット"))
            
'発送管理No
            LB_LOT_SEQ_TITLE(i) = New System.Windows.Forms.Label
            LB_LOT_SEQ_TITLE(i).Text 
= "発送管理No"
            LB_LOT_SEQ_TITLE(i).Location 
= New System.Drawing.Point(464, 64)
            LB_LOT_SEQ_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_LOT_SEQ_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_LOT_SEQ_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_LOT_SEQ_TITLE(i).Size 
= New System.Drawing.Size(111, 23)
            LB_LOT_SEQ_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_LOT_SEQ(i) 
= New System.Windows.Forms.Label
            LB_LOT_SEQ(i).Text 
= "H2232+5645"
            LB_LOT_SEQ(i).Location 
= New System.Drawing.Point(575, 64)
            LB_LOT_SEQ(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_LOT_SEQ(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_LOT_SEQ(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_LOT_SEQ(i).Size 
= New System.Drawing.Size(128, 23)
            LB_LOT_SEQ(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_LOT_SEQ(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("発送管理No"))
            
'発送日
            LB_SENDDATE_TITLE(i) = New System.Windows.Forms.Label
            LB_SENDDATE_TITLE(i).Text 
= "発送日"
            LB_SENDDATE_TITLE(i).Location 
= New System.Drawing.Point(708, 64)
            LB_SENDDATE_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_SENDDATE_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_SENDDATE_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_SENDDATE_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_SENDDATE_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_SENDDATE(i) 
= New System.Windows.Forms.Label
            LB_SENDDATE(i).Location 
= New System.Drawing.Point(810, 64)
            LB_SENDDATE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_SENDDATE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_SENDDATE(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_SENDDATE(i).Size 
= New System.Drawing.Size(100, 23)
            LB_SENDDATE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_SENDDATE(i).Text 
= mdlFunction.FormatDataToYMD(mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("発送日")))
            
'送り状定義
            LB_LABEL_DEF_NM_TITLE(i) = New System.Windows.Forms.Label
            LB_LABEL_DEF_NM_TITLE(i).Text 
= "送り状定義"
            LB_LABEL_DEF_NM_TITLE(i).Location 
= New System.Drawing.Point(10, 88)
            LB_LABEL_DEF_NM_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_LABEL_DEF_NM_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_LABEL_DEF_NM_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_LABEL_DEF_NM_TITLE(i).Size 
= New System.Drawing.Size(102, 23)
            LB_LABEL_DEF_NM_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_LABEL_DEF_NM(i) 
= New System.Windows.Forms.Label
            LB_LABEL_DEF_NM(i).Location 
= New System.Drawing.Point(112, 88)
            LB_LABEL_DEF_NM(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_LABEL_DEF_NM(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_LABEL_DEF_NM(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_LABEL_DEF_NM(i).Size 
= New System.Drawing.Size(346, 23)
            LB_LABEL_DEF_NM(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_LABEL_DEF_NM(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("送り状定義"))
            
'最新配送状況 
            LB_STATS_TITLE(i) = New System.Windows.Forms.Label
            LB_STATS_TITLE(i).Text 
= "最新配送状況"
            LB_STATS_TITLE(i).Location 
= New System.Drawing.Point(464, 88)
            LB_STATS_TITLE(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_STATS_TITLE(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_STATS_TITLE(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_STATS_TITLE(i).Size 
= New System.Drawing.Size(111, 23)
            LB_STATS_TITLE(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            LB_STATS(i) 
= New System.Windows.Forms.Label
            LB_STATS(i).Location 
= New System.Drawing.Point(575, 88)
            LB_STATS(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_STATS(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleLeft
            LB_STATS(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            LB_STATS(i).Size 
= New System.Drawing.Size(128, 23)
            LB_STATS(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            LB_STATS(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("最新配送状況"))
            
'メモ
            LB_TB_MEMO(i) = New System.Windows.Forms.Label
            LB_TB_MEMO(i).Text 
= "メモ"
            LB_TB_MEMO(i).Location 
= New System.Drawing.Point(10, 112)
            LB_TB_MEMO(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            LB_TB_MEMO(i).TextAlign 
= System.Drawing.ContentAlignment.MiddleCenter
            LB_TB_MEMO(i).BackColor 
= System.Drawing.SystemColors.Control
            LB_TB_MEMO(i).Size 
= New System.Drawing.Size(102, 23)
            LB_TB_MEMO(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))

            TB_MEMO(i) 
= New System.Windows.Forms.TextBox
            TB_MEMO(i).Location 
= New System.Drawing.Point(112, 112)
            TB_MEMO(i).BorderStyle 
= System.Windows.Forms.BorderStyle.Fixed3D
            TB_MEMO(i).TextAlign 
= System.Windows.Forms.HorizontalAlignment.Left
            TB_MEMO(i).BackColor 
= System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(192, Byte), Integer))
            TB_MEMO(i).Size 
= New System.Drawing.Size(800, 46)
            TB_MEMO(i).Multiline 
= True
            TB_MEMO(i).Font 
= New System.Drawing.Font("MS ゴシック", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
            TB_MEMO(i).Text 
= mdlFunction.DBNULLToEmpty(m_DataVale.Rows(i)("メモ"))

           
 'group(i).Controls.Add(RB_INFO(i))
            group(i).Controls.Add(LB_ARR_FIXED_TITLE(i))
            group(i).Controls.Add(LB_ARR_FIXED(i))
            group(i).Controls.Add(LB_CO_DELIVERY_NO_TITLE(i))
            group(i).Controls.Add(LB_CO_DELIVERY_NO(i))
            group(i).Controls.Add(LB_HASSOU_LOT_TITLE(i))
            group(i).Controls.Add(LB_HASSOU_LOT(i))
            group(i).Controls.Add(LB_LOT_SEQ_TITLE(i))
            group(i).Controls.Add(LB_LOT_SEQ(i))
            group(i).Controls.Add(LB_SENDDATE_TITLE(i))
            group(i).Controls.Add(LB_SENDDATE(i))
            group(i).Controls.Add(LB_LABEL_DEF_NM_TITLE(i))
            group(i).Controls.Add(LB_LABEL_DEF_NM(i))
            group(i).Controls.Add(LB_STATS_TITLE(i))
            group(i).Controls.Add(LB_STATS(i))
            group(i).Controls.Add(LB_TB_MEMO(i))
            group(i).Controls.Add(TB_MEMO(i))
            GroupBox1.Controls.Add(RB_INFO(i))
            GroupBox1.Controls.Add(group(i))
        
Next

        
If (1 + i) * intGroupY + intGroupHeight * i > Me.Height Then
            GroupBox1.Height 
= (1 + i) * intGroupY + intGroupHeight * i
        
Else
            GroupBox1.Height 
= Me.Height
        
End If
        m_ArrRB_INFO 
= RB_INFO
        m_ArrLB_ARR_FIXED 
= LB_ARR_FIXED
        m_ArrLB_CO_DELIVERY_NO 
= LB_CO_DELIVERY_NO
        m_ArrLB_HASSOU_LOT 
= LB_HASSOU_LOT
        m_ArrLB_SENDDATE 
= LB_SENDDATE
        m_ArrLB_LABEL_DEF_NM 
= LB_LABEL_DEF_NM
        m_ArrLB_STATS 
= LB_STATS
        m_ArrTB_MEMO 
= TB_MEMO
        m_ArrLB_LOT_SEQ 
= LB_LOT_SEQ
    
End Sub

End Class

 

 调用该控件的代码:

        Dim dtTable As New DataTable
        ..
        
Dim GroupRepeate1 As New UserControls.GroupRepeate
        GroupRepeate1.ArrLB_LOT_SEQ 
= Nothing
        GroupRepeate1.AutoScroll 
= True
        GroupRepeate1.DataVale 
= Nothing
        GroupRepeate1.Location 
= New System.Drawing.Point(9, 302)
        GroupRepeate1.Name 
= "GroupRepeate1"
        GroupRepeate1.Size 
= New System.Drawing.Size(956, 351)
        GroupRepeate1.DataVale 
= dtTable
        
Me.Controls.Add(GroupRepeate1)

 

 

 

 

转载于:https://www.cnblogs.com/tonybinlj/archive/2009/02/26/1398487.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.tpcf.cn/news/276626.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

html调用接口_搜狗ocr识别接口

详细情况在代码中说明&#xff0c;如果不想自己使用TensorFlow&#xff0c;可使用下面接口这是要识别的图片&#xff1a;最终识别的结果&#xff1a;This is a lot of 12 point text to test theocr code and see if it works on all typesof file format.The quick brown dog …

CSAcademy Or Problem

传送门 一口大锅&#xff08; 斜率的确是有单调性 并且可以进行凸优化的 明明是证出来的 为什么自己就不相信呢&#xff08; 我们发现对于当前点作为扩展的右端点 那么他前面至多有20个点会影响到这一段区间的或值 我们可以预处理记录出来这些节点的位置 很明显 答案随着右端点…

apache的rewrite模块实例操作

原文链接&#xff1a;http://blog.5ilinux.com/archives/2006/01/apacherewrite.html 我们的目标是把http://www.bulknews.cn/show.php?id1014700通过rewrite的url重写&#xff0c;使可以直接http://www.bulknews.cn/1014700.html访问 1.首先配置apache的httpd.conf&#xf…

哈佛图书馆的二十条训言

1.此刻打盹&#xff0c;你将做梦;而此刻学习&#xff0c;你将圆梦。 2.我荒废的今日&#xff0c;正是昨日殒身之人祈求的明日。 3.觉得为时已晚的时候&#xff0c;恰恰是最早的时候。 4.勿将今日之事拖到明日。 5.学习时的苦痛是暂时的&#xff0c;未学到的痛苦是终生的。 6.学…

python截取关键字后的字符串_使用正则表达式获取python中特定字符串之后的所有内容...

如果要使用正则表达式&#xff0c;请使用re.findall&#xff1a;re.findall((?<com/).*$, "www.example.com/thedubaimall") # [thedubaimall] 一些速度测试有DeepSpace的建议&#xff1a;%timeit re.findall((?<com/).*$, "www.example.com/thedubaima…

vue起手式

许久未曾更新文章&#xff0c;虽然不是程序员但还是忘怀不了撸码的觉悟.1.VUE环境搭建安装node.js (项目开发前准备) Node.js官网&#xff1a;https://nodejs.org/en/ 进入Node.js官网&#xff0c;选择下载并安装Node.js。安装过程只需要点击“下一步”即可&#xff0c;非常简单…

C#编程尽量使用接口(转)

.NET框架包括类和接口&#xff0c;在编写程序的时候&#xff0c;你可能知道正在用.NET的哪个类。然而&#xff0c;在这种情况下如果你用.NET支持的接口而不是它的类来编程时&#xff0c;代码会变得更加稳定、可用性会更高。请分析下面的代码&#xff1a; private void LoadLi…

Apache 重写规则的常见应用 (rewrite)

本文出自:http://www.linuxforum.net 作者:吴阿亭 Jephe wu (2001-09-05 08:00:00) 一:目的 本文旨在提供如何用Apache重写规则来解决一些常见的URL重写方法的问题&#xff0c;通过常见的 实例给用户一些使用重写规则的基本方法和线索。 二:为什么需要用重写规则&#xff1…

python怎么模拟浏览器交互_干货分享:python爬虫模拟浏览器的两种方法实例分析(赶紧收藏)...

今天为大家带来的内容是&#xff1a;干货分享&#xff1a;python爬虫模拟浏览器的两种方法实例分析&#xff08;赶紧收藏&#xff09; 文章主要介绍了python爬虫模拟浏览器的两种方法,结合实例形式分析了Python爬虫模拟浏览器的两种常见操作技巧与使用注意事项,需要的朋友可以参…

vue-cli3

github&#xff1a;https://github.com/vuejs/vue-cli org&#xff1a;https://cli.vuejs.org/ guide&#xff1a;https://cli.vuejs.org/guide/ config&#xff1a;https://cli.vuejs.org/config/ 转载于:https://www.cnblogs.com/veritas-sj/p/10147789.html

Indy中判断邮件来源

首先从TidMessage中获得邮件的头信息&#xff1a; strHeader:aIdMessage.Headers.text; 然后&#xff0c;用正则表达式取出Received: vReceiveIP:GetNeedStrByPerlReg(strHeader,(Received:)(.)(])); 再取出X-Originating-IP&#xff1a; vOriIP:GetNeedStrByPerlReg(strHea…

用jQuery实现弹出窗口/弹出div层

原文链接&#xff1a;http://hi.baidu.com/awz_tiger/item/863cfc10c4bb0f6171d5e8d9 http://blog.163.com/qiuxinke2006126/blog/static/24885580201131763139536/ http://hi.baidu.com/kilwin/blog/item/f4cfaf2695375920c9955947.html 用div层代替传统的弹出窗口已经变得很…

模块定义文件导出类_浓缩的就是精华——ES6模块精炼讲解

概述在 ES6 前&#xff0c; 实现模块化使用的是 RequireJS 或者 seaJS(分别是基于 AMD 规范的模块化库&#xff0c; 和基于 CMD 规范的模块化库)。ES6 引入了模块化&#xff0c;其设计思想是在编译时就能确定模块的依赖关系&#xff0c;以及输入和输出的变量。ES6 的模块化分为…

关于快速开发和设计应用系统的一些个人的意见

作为程序员&#xff0c;经常会为我们的客户去开发和设计各种应用系统&#xff0c;比如OA /CRM/物流调度/客户服务/电子政务。。。及各种管理信息系统&#xff0c;我们经常会去开发和实现这样的一些系统&#xff0c;每周、每月、每年经常都要去做这样的一些开发工作&#xff0c;…

Jquery1.6版本后attr的变化

原文链接&#xff1a;http://www.cnblogs.com/-run/archive/2011/11/16/2251569.html Jquery1.6版本后attr的变化 Jquery1.6版本后 attr 改动后的效果&#xff1a; jquery1.6版本&#xff1a; 下文来自www.jquery.com The difference betweenattributes and properties can b…

idea main scanner 输入_哇晒,你竟然不知道idea的 Live Templates

最近公司新近来一名程序猿&#xff0c;在写代码时&#xff0c;美美写到System.out.println的时候&#xff0c;都要一母不差的用键盘敲上去&#xff0c;我问他你之前有用过eclipse中的快捷方法syso吗&#xff1f;于是&#xff0c;我给他介绍了一下&#xff0c;在idea中如何自定义…

Android开发需要了解的 IM 知识

引言即便在通讯如此发达的今天&#xff0c;IM 也依然是诸多场景下非常重要的基础能力。因此做为 一名 Android 开发&#xff0c;不可避免的会遇到一些IM 相关的需求或问题。本文以一个Android开发的角度来讲述IM 开发相关的基础知识。想要阅读更多技术干货、行业洞察&#xff0…

偷梁换柱做自己的封装系统

偷梁换柱做自己的封装系统&#xff01;菜鸟一开始都想把自己的信息加到系统里&#xff0c;但封装系统只会一点&#xff01;但我们可“拿来”&#xff0c;我们可以用偷梁换柱的方法来修改别人的系统&#xff0c;本文以雨林的GHOST5.0系统为例。一、准备工作1、当然是下载一个自己…

JQuery 1.6+ checkbox 状态选择

示例&#xff1a; HTML: <form><table><tr><td><input type"checkbox" id"select_all"/></td></tr><tr><td><input type"checkbox" name"select[]"/></td></…

台电u盘量产工具_简单几步,让U盘起死回生

如今&#xff0c;虽说云存储风靡&#xff0c;但U盘仍存在价值&#xff0c;毕竟在很多场合并不方便上网&#xff0c;即便如此网上存储有时也并不方便&#xff0c;也不安全。与此同时&#xff0c;如果是大文件存储&#xff0c;云盘上传和下载速度非常慢&#xff0c;并不适合海量数…