/// <summary> /// View / edit the strategy description. /// </summary> private void BtnStrategyDescriptionClick(object sender, EventArgs e) { string oldInfo = Data.Strategy.Description; var si = new StrategyDescription(); si.ShowDialog(); if (oldInfo == Data.Strategy.Description) { return; } Data.SetStrategyIndicators(); SetSrategyOverview(); Data.IsStrategyChanged = true; }
/// <summary> /// View / edit the strategy description /// </summary> private void BtnStrategyDescriptionClick(object sender, EventArgs e) { string oldInfo = Data.Strategy.Description; var si = new StrategyDescription(); si.ShowDialog(); if (oldInfo == Data.Strategy.Description) { return; } Data.SetStrategyIndicators(); SetStrategyDescriptionButton(); Text = Path.GetFileNameWithoutExtension(Data.StrategyName) + "* - " + Data.ProgramName; Data.IsStrategyChanged = true; }
/// <summary> /// View / edit the strategy description /// </summary> private void BtnStrategyDescriptionClick(object sender, EventArgs e) { string oldInfo = Data.Strategy.Description; var si = new StrategyDescription(); si.ShowDialog(); if (oldInfo == Data.Strategy.Description) return; Data.SetStrategyIndicators(); SetStrategyDescriptionButton(); Text = Path.GetFileNameWithoutExtension(Data.StrategyName) + "* - " + Data.ProgramName; Data.IsStrategyChanged = true; }
/// <summary> /// View / edit the strategy description. /// </summary> private void BtnStrategyDescriptionClick(object sender, EventArgs e) { string oldInfo = Data.Strategy.Description; var si = new StrategyDescription(); si.ShowDialog(); if (oldInfo == Data.Strategy.Description) return; Data.SetStrategyIndicators(); SetSrategyOverview(); Data.IsStrategyChanged = true; }