Exemplo n.º 1
0
        // ------------------강의공지 긁어오기--------------------------
        public void button4_Initialized(object sender, EventArgs e)
        {
            whatButton = WhatButton.button4;            //button4가 기록됨
            if (countBtn1 != 0)
            {
                L_Data.Clear();
            }
            foreach (CheckBox cbx in stp.Children.OfType <CheckBox>())
            {
                if (cbx.Content.ToString() == "21.5학점(대진설O)")
                {
                    grade = 21;
                }
                if (cbx.Content.ToString() == "18.5학점(대진설O)")
                {
                    grade = 18;
                }
                if (cbx.Content.ToString() == "15.5학점(대진설O)")
                {
                    grade = 15;
                }
            }

            Start4();
            countBtn1++;
        }
Exemplo n.º 2
0
 // ------------------학과공지 긁어오기--------------------------
 private void button5_Initialized(object sender, EventArgs e)
 {
     whatButton = WhatButton.button5;            //button5가 기록됨
     if (countBtn2 != 0)
     {
         D_Data.Clear();
     }
     Start5();
     countBtn2++;
 }