예제 #1
0
        public Home()
        {
            InitializeComponent();

            // Menyiapkan data user dan cek apakah kegiatan sudah diambil user
            lblName.Text  = Data.first_name + " " + Data.last_name;
            lblUser.Text  = Data.uname;
            button8.Text  = formLomba.IsExist(label8.Text);
            button9.Text  = formEvent.IsExist(label17.Text);
            button10.Text = loker.IsExist(label11.Text);
        }
예제 #2
0
        //
        //Event
        //

        private void Event_Exist() // Cek apakah event sudah diambil user
        {
            button21.Text = formEvent.IsExist(label61.Text);
            button20.Text = formEvent.IsExist(label58.Text);
            button19.Text = formEvent.IsExist(label55.Text);
            button18.Text = formEvent.IsExist(label50.Text);
            button17.Text = formEvent.IsExist(label47.Text);
            button16.Text = formEvent.IsExist(label44.Text);
        }