Пример #1
0
        public ProblemEidtForm(ProblemWithTypeName CurSelProblemWithTN, IKnowltAndProblemFormReq IKnowltAndProblemFormReq, EditProblem editProblem)
        {
            InitializeComponent();
            this.IKnowltAndProblemFormReq = IKnowltAndProblemFormReq;
            this.CurSelProblemWithTN      = CurSelProblemWithTN;
            this.editProblem         = editProblem;
            this.iProblemEditFormReq = ImplProblemEditFormReq.NewInstance();

            this.initData();
            this.initView();
        }
Пример #2
0
        public ProblemEidtForm(string knowlID, IKnowltAndProblemFormReq IKnowltAndProblemFormReq, AddProblem addProblem)
        {
            InitializeComponent();

            this.IKnowltAndProblemFormReq = IKnowltAndProblemFormReq;
            this.currentSelKnowlID        = knowlID;
            this.addProblem          = addProblem;
            this.iProblemEditFormReq = ImplProblemEditFormReq.NewInstance();

            this.initData();
            this.initView();
        }