ChartWindow: Add MessageBox when removing contract from other graph

This commit is contained in:
2024-01-25 00:36:36 +01:00
parent d59a713a8c
commit df83430c35
2 changed files with 16 additions and 5 deletions

View File

@ -39,7 +39,7 @@ namespace Elwig.Helpers.Billing {
public List<ContractSelection> Contracts { get; set; }
public string ContractsStringSimple => (Abgewertet ? "Abgew.: " : "") + (Contracts.Count != 0 ? (Contracts.Count >= 25 ? "Restliche Sorten" : string.Join(", ", Contracts.Select(c => c.Listing))) : "-");
public string ContractsString => Contracts.Count != 0 ? string.Join("\n", Contracts.Select(c => c.FullName)) : "-";
public string ContractsStringChange => (Abgewertet ? "A." : "") + string.Join(",", Contracts.Select(c => c.Listing));
private readonly int Precision;
public GraphEntry(int id, int precision, BillingData.CurveMode mode) {