예제 #1
0
        private void radButtonLoanRepayableClose_Click(object sender, EventArgs e)
        {
            FormCreateLoansRepayable formCreateLoansRepayable = new FormCreateLoansRepayable();

            formCreateLoansRepayable.Close();

            FormUpdateLoansRepayable formUpdateLoansRepayable = new FormUpdateLoansRepayable();

            formUpdateLoansRepayable.Close();

            this.Close();
        }
예제 #2
0
        private void radButtonLoanRepayableEdit_Click(object sender, EventArgs e)
        {
            FormUpdateLoansRepayable formUpdateLoansRepayable = new FormUpdateLoansRepayable();

            formUpdateLoansRepayable._LoanID          = (int)radGridViewLoansRepayable.SelectedRows[0].Cells[5].Value;
            formUpdateLoansRepayable._StoreID         = StoreID;
            formUpdateLoansRepayable._Monthly         = (decimal)radGridViewLoansRepayable.SelectedRows[0].Cells[1].Value;
            formUpdateLoansRepayable._EndDate         = radGridViewLoansRepayable.SelectedRows[0].Cells[3].Value.ToString();
            formUpdateLoansRepayable._RedStoreLoansId = (int)radGridViewLoansRepayable.SelectedRows[0].Cells[6].Value;
            formUpdateLoansRepayable.ShowDialog();

            ShowLoansRepayable();
        }