protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); #if NO if (_initial == false) { Delegate_ShowTips d = new Delegate_ShowTips(ShowTips); this.BeginInvoke(d); _initial = true; } #endif if (this.toolTip1 == null) { this.toolTip1 = new System.Windows.Forms.ToolTip(); } if (string.IsNullOrEmpty(this._unitString) == true) { this._unitString = GetUnitString(this.CurrentUnit); } if (this.toolTip1 != null && string.IsNullOrEmpty(this._unitString) == false) { this.toolTip1.SetToolTip(this.Controls[1], this._unitString); } }
protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); #if NO if (_initial == false) { Delegate_ShowTips d = new Delegate_ShowTips(ShowTips); this.BeginInvoke(d); _initial = true; } #endif if (this.toolTip1 == null) this.toolTip1 = new System.Windows.Forms.ToolTip(); if (string.IsNullOrEmpty(this._unitString) == true) this._unitString = GetUnitString(this.CurrentUnit); if (this.toolTip1 != null && string.IsNullOrEmpty(this._unitString) == false) this.toolTip1.SetToolTip(this.Controls[1], this._unitString); }