Beispiel #1
0
        private void miLeaveBal_Click(object sender, RoutedEventArgs e)
        {
            this.Cursor = Cursors.Wait;
            LeaveBalance x = new LeaveBalance();

            x.ShowDialog();
            this.Cursor = Cursors.Arrow;
        }
        private void MetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            LeaveBalance lb = new LeaveBalance();

            lb.GetBalance();
        }