Smrf.NodeXL.ExcelTemplate.DynamicFilterDialog.AddLabelToGroupBox C# (CSharp) Метод

AddLabelToGroupBox() защищенный Метод

protected AddLabelToGroupBox ( DynamicFilterParameters oDynamicFilterParameters, GroupBox oGroupBox, Int32 iX, Int32 iY ) : Label
oDynamicFilterParameters DynamicFilterParameters
oGroupBox GroupBox
iX Int32
iY Int32
Результат Label
    AddLabelToGroupBox
    (
        DynamicFilterParameters oDynamicFilterParameters,
        GroupBox oGroupBox,
        Int32 iX,
        Int32 iY
    )
    {
        Debug.Assert(oGroupBox != null);
        Debug.Assert(oDynamicFilterParameters != null);
        AssertValid();

        Label oLabel = new Label();
        oLabel.Text = oDynamicFilterParameters.ColumnName + ":";
        oLabel.Location = new Point(iX, iY);
        oLabel.Margin = Padding.Empty;
        oLabel.AutoEllipsis = true;

        // The actual size of the Label will get set by the caller.

        oLabel.AutoSize = false;

        oGroupBox.Controls.Add(oLabel);

        return (oLabel);
    }