TestWindow: Remove CalcBinsButton
This commit is contained in:
@ -23,8 +23,5 @@
|
|||||||
Margin="260,190,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
Margin="260,190,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
||||||
<Button x:Name="PdfCreditButton" Content="Gutschrift Erzeugen" Click="PdfCreditButton_Click" Tag="Print" IsEnabled="False"
|
<Button x:Name="PdfCreditButton" Content="Gutschrift Erzeugen" Click="PdfCreditButton_Click" Tag="Print" IsEnabled="False"
|
||||||
Margin="260,160,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
Margin="260,160,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
||||||
|
|
||||||
<Button x:Name="CalcBinsButton" Content="Berechnen" Click="CalcBinsButton_Click"
|
|
||||||
Margin="20,160,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -68,13 +68,5 @@ namespace Elwig.Windows {
|
|||||||
doc.Show();
|
doc.Show();
|
||||||
Mouse.OverrideCursor = null;
|
Mouse.OverrideCursor = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void CalcBinsButton_Click(object sender, RoutedEventArgs evt) {
|
|
||||||
Mouse.OverrideCursor = Cursors.AppStarting;
|
|
||||||
var b = new Billing(2022);
|
|
||||||
await b.FinishSeason();
|
|
||||||
await b.CalculateBins();
|
|
||||||
Mouse.OverrideCursor = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user