Ejemplo n.º 1
0
        private void addMappingDetailControl()
        {
            var detailsControl = new MappingDetailsControl();

            detailsControl.Hide();
            this.mappingDetailControls.Add(detailsControl);
            this.mappingPanel.Controls.Add(detailsControl);
        }
        private void addMappingDetailControl(int i)
        {
            var detailsControl = new MappingDetailsControl();

            detailsControl.mappingDeleted += this.mappingDeleted;
            detailsControl.mapping_Enter  += this.mappingEnter;
            detailsControl.AutoSizeMode    = AutoSizeMode.GrowAndShrink;
            detailsControl.BorderStyle     = BorderStyle.FixedSingle;
            detailsControl.Anchor          = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            detailsControl.TabIndex        = i;
            detailsControl.Hide();
            this.mappingDetailControls.Add(detailsControl);
            this.mappingPanel.Controls.Add(detailsControl, 0, i);
        }