void ReleaseDesignerOutlets() { if (FirstArgument != null) { FirstArgument.Dispose(); FirstArgument = null; } if (ResultValue != null) { ResultValue.Dispose(); ResultValue = null; } if (SecondArgument != null) { SecondArgument.Dispose(); SecondArgument = null; } if (Sign != null) { Sign.Dispose(); Sign = null; } }
void ReleaseDesignerOutlets() { if (btnBuy != null) { btnBuy.Dispose(); btnBuy = null; } if (btnSell != null) { btnSell.Dispose(); btnSell = null; } if (BuyPrice != null) { BuyPrice.Dispose(); BuyPrice = null; } if (ChangeValueView != null) { ChangeValueView.Dispose(); ChangeValueView = null; } if (NameValue != null) { NameValue.Dispose(); NameValue = null; } if (ResultValue != null) { ResultValue.Dispose(); ResultValue = null; } if (SellPrice != null) { SellPrice.Dispose(); SellPrice = null; } if (UserValue != null) { UserValue.Dispose(); UserValue = null; } }