コード例 #1
0
        public void AddNewLoan()
        {
            var control = new LoanDetails(User, this, -1);

            PluginManager.Instance.AddNonDockableContent(this, control, "Loan Detail <New Loan>", SizeToContent.Manual);
        }
コード例 #2
0
        public void EditLoan(int loanId)
        {
            var control = new LoanDetails(User, this, loanId);

            PluginManager.Instance.AddNonDockableContent(this, control, string.Format("Loan Detail [{0}]", loanId), SizeToContent.Manual);
        }