Exemplo n.º 1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            AddLoan addLoan = new AddLoan();

            addLoan.mode  = 1;
            addLoan.empid = empid;
            addLoan.Show();
        }
Exemplo n.º 2
0
        private void edit_Click(object sender, RoutedEventArgs e)
        {
            var     x       = ((DMSIClass._Loan)datagridview.SelectedItem);
            AddLoan addLoan = new AddLoan();

            addLoan.loanid = x.LoanID;
            addLoan.mode   = 2;
            addLoan.empid  = empid;

            addLoan.Show();
        }