public RnPalette() { _RnOptions = new RnOptions(); userControl = new RnControl(_RnOptions) { SelectAllOnFocus = true }; }
public Engine(RnOptions rnOptions) { this._RnOptions = rnOptions; Blockname = rnOptions.Blockname; NrAttribname = rnOptions.Attribname; HBlockname = rnOptions.HBlockname; var sMaxDist = TheConfiguration.GetValueString(DIST_RB_TO_FB_KONFIG); _MaxDist = double.Parse(sMaxDist, CultureInfo.InvariantCulture); Database db = Application.DocumentManager.MdiActiveDocument.Database; _TransMan = db.TransactionManager; _AllRaumBlocks = SelectAllRaumblocks(); }
public RnControl(RnOptions rnOptions) { InitializeComponent(); _RnOptions = rnOptions; _RnOptions.Form = this; Globs.TheRnOptions = _RnOptions; FillComponents(); //this.txtTop.Leave += new System.EventHandler(txtTop_Leave); //this.txtTop.GotFocus += new System.EventHandler(txtTop_GotFocus); //this.txtTop.MouseUp += new System.Windows.Forms.MouseEventHandler(txtTop_MouseUp); //this.txtSeparator.Leave += new System.EventHandler(txtSeparator_Leave); //this.txtSeparator.GotFocus += new System.EventHandler(txtSeparator_GotFocus); //this.txtSeparator.MouseUp += new System.Windows.Forms.MouseEventHandler(txtSeparator_MouseUp); //this.txtNumber.Leave += new System.EventHandler(txtNumber_Leave); //this.txtNumber.GotFocus += new System.EventHandler(txtNumber_GotFocus); //this.txtNumber.MouseUp += new System.Windows.Forms.MouseEventHandler(txtNumber_MouseUp); //_Engine = new Engine(this); }