public EventObjectSelect(EventObjEditorReturnObject retObj, IWindowsFormsEditorService w)
 {
     InitializeComponent();
     this.TopLevel = false;
     this._wfes = w;
     this.returnObject = retObj;
     this.prntForm = returnObject.prntForm;
     refreshCmbBoxes();
     if (cmbObjectTagFilename.Items.Count > 0)
         cmbObjectTagFilename.SelectedIndex = 0;
 }
 public EventObjectSelect(EventObjEditorReturnObject retObj, IWindowsFormsEditorService w)
 {
     InitializeComponent();
     this.TopLevel     = false;
     this._wfes        = w;
     this.returnObject = retObj;
     this.prntForm     = returnObject.prntForm;
     refreshCmbBoxes();
     if (cmbObjectTagFilename.Items.Count > 0)
     {
         cmbObjectTagFilename.SelectedIndex = 0;
     }
 }