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

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

            lb.GetBalance();
        }