Exemplo n.º 1
0
        public OneProblemForm(ProblemWithTypeName problem, SelProblem selProblem)
        {
            InitializeComponent();

            this.cuProblemWithTN = problem;
            this.selProblem      = selProblem;
            this.rtxProblem.Text = problem.Content;
        }
Exemplo n.º 2
0
        private void initProblem()
        {
            if (this.selProblem == null)
            {
                this.selProblem = new SelProblem(this.SelProblem);
            }


            if (this.CurSelKnol != null)
            {
                List <ProblemWithTypeName> ProblemList = this.IKnowltAndProblemFormReq.QueryAllProblems(this.CurSelKnol.Id);
                this.ShowProblem(ProblemList);
            }
        }