public DataFieldCollectionForm(IServiceProvider serviceProvider, CollectionEditor editor) : base(editor)
 {
     this.fieldLabel          = new Label();
     this.fieldsList          = new ListBoxWithEnter();
     this.selectedFieldsLabel = new Label();
     this.selectedFieldsList  = new ListBoxWithEnter();
     this.moveLeft            = new Button();
     this.moveRight           = new Button();
     this.moveUp             = new Button();
     this.moveDown           = new Button();
     this.okButton           = new Button();
     this.cancelButton       = new Button();
     this.layoutPanel        = new TableLayoutPanel();
     this.moveUpDownPanel    = new Panel();
     this.moveLeftRightPanel = new Panel();
     this.editor             = (DataFieldCollectionEditor)editor;
     this._serviceProvider   = serviceProvider;
     if (!string.Equals(System.Design.SR.GetString("RTL"), "RTL_False", StringComparison.Ordinal))
     {
         this.RightToLeft       = RightToLeft.Yes;
         this.RightToLeftLayout = true;
     }
     this.InitializeComponent();
     this._dataFields = this.GetControlDataFieldNames();
 }
 public DataFieldCollectionForm(IServiceProvider serviceProvider, CollectionEditor editor) : base(editor)
 {
     this.fieldLabel = new Label();
     this.fieldsList = new ListBoxWithEnter();
     this.selectedFieldsLabel = new Label();
     this.selectedFieldsList = new ListBoxWithEnter();
     this.moveLeft = new Button();
     this.moveRight = new Button();
     this.moveUp = new Button();
     this.moveDown = new Button();
     this.okButton = new Button();
     this.cancelButton = new Button();
     this.layoutPanel = new TableLayoutPanel();
     this.moveUpDownPanel = new Panel();
     this.moveLeftRightPanel = new Panel();
     this.editor = (DataFieldCollectionEditor) editor;
     this._serviceProvider = serviceProvider;
     if (!string.Equals(System.Design.SR.GetString("RTL"), "RTL_False", StringComparison.Ordinal))
     {
         this.RightToLeft = RightToLeft.Yes;
         this.RightToLeftLayout = true;
     }
     this.InitializeComponent();
     this._dataFields = this.GetControlDataFieldNames();
 }