예제 #1
0
        private void btnMinors_Click(object sender, EventArgs e)
        {
            string     jsonMinors = rt.GET("/minors/");
            Minors     minors     = JToken.Parse(jsonMinors).ToObject <Minors>();
            MinorsForm minorForm  = new MinorsForm(minors);

            minorForm.ShowDialog();
        }
예제 #2
0
 public MinorsForm(Minors tempMin)
 {
     InitializeComponent();
     minors = tempMin;
     PopulateMinors();
 }