public BooleanTrendPanel(IBooleanValueRead aBooleanValueRead) { mBooleanValue = aBooleanValueRead; InitializeComponent(); timer_Update.Start(); }
public BooleanIndicatorPanel(IBooleanValueRead aBooleanValue) { mBooleanValue = aBooleanValue; InitializeComponent(); BackColor = SystemColors.Control; }
protected override void Dispose(bool disposing) { if (disposing) { mBooleanValue = null; if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { mBooleanValue = null; toolTip.RemoveAll(); pictureBox_State.Image = null; if (mTrueBitmap != null) { mTrueBitmap.Dispose(); mTrueBitmap = null; } if (mFalseBitmap != null) { mFalseBitmap.Dispose(); mFalseBitmap = null; } if (mTrueSymbol != null) { mTrueSymbol.Dispose(); mTrueSymbol = null; } if (mFalseSymbol != null) { mFalseSymbol.Dispose(); mFalseSymbol = null; } if (components != null) { components.Dispose(); } } base.Dispose(disposing); }
public BooleanSymbolPanel(IBooleanValueRead aBooleanValue) { mBooleanValue = aBooleanValue; InitializeComponent(); }