Example #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);
        }
Example #2
0
        //
        //Loker
        //

        private void Loker_Exist() // Cek apakah lowongan kerja sudah diambil user
        {
            button15.Text = loker.IsExist(label41.Text);
            button14.Text = loker.IsExist(label38.Text);
            button13.Text = loker.IsExist(label35.Text);
            button12.Text = loker.IsExist(label29.Text);
            button11.Text = loker.IsExist(label26.Text);
            button7.Text  = loker.IsExist(label23.Text);
        }