내가 잘못하고있는 것이 확실하지 않습니다. 내가 갖는 오류는 다음과 같습니다'xx'이름이 현재 컨텍스트에 존재하지 않습니다.
이름 '_questions'는 현재 컨텍스트에 존재하지 않습니다 -
코드 FormChoose.cs :
FormChoose.cs
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml.Linq;
using System.Xml.Serialization;
namespace WindowsFormsApplication1
{
public partial class FormChoose : Form
{
public FormChoose()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
_questions = GetQuestions("1");
}
}
}
Form1에
. CSusing System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml.Linq;
using System.Xml.Serialization;
모든 입력 또는 답변은 크게 도움이 될 것입니다. 테드. ltn의 게시물을 도와 줄 수있는 사람에게 보상/인센티브를 줄 수 있으므로 효과를 얻을 수 있습니다.
감사합니다.
button1_click (Form1.cs) 다음에}이 (가) 있습니다. –
@AlinaB. 누락 된 부분을 추가하려고 시도했지만 빌드 오류가 발생했습니다. – user2141272