コード例 #1
0
        protected override FrmDetailBase GetDetailForm()
        {
            FrmStaffDetail frm = new FrmStaffDetail();

            if (departmentTreeview1.SelectedNode != null)
            {
                frm.Department = departmentTreeview1.SelectedNode.Tag as Department;
            }
            return(frm);
        }
コード例 #2
0
 protected override FrmDetailBase GetDetailForm()
 {
     FrmStaffDetail frm = new FrmStaffDetail();
     if (departmentTreeview1.SelectedNode != null) frm.Department = departmentTreeview1.SelectedNode.Tag as Department;
     return frm;
 }