Not quite sure what I'm doing wrong. The errors I'm getting are:
The name '_questions' does not exist in the current context - FormChoose.cs
Code:
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.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;
Any input or answers on how to achieve this will be greatly appreciated. Possible reward/incentive for anyone that can help out with ltn's post so I can get it working.
Thank you.