예제 #1
0
        void lblJdl_Click(object sender, EventArgs e, string judul)
        {
            Button btn = sender as Button;

            if (cbKegiatan.Text == "Event")
            {
                data.Event(judul);
                FormEvent agenda = new FormEvent();
                this.Visible = false;
                agenda.ShowDialog();
            }
            else if (cbKegiatan.Text == "Lowongan Pekerjaan")
            {
                data.Loker(judul);
                LowonganKerja agenda = new LowonganKerja();
                this.Visible = false;
                agenda.ShowDialog();
            }
            else if (cbKegiatan.Text == "Lomba")
            {
                data.Lomba(judul);
                FormLomba agenda = new FormLomba();
                this.Visible = false;
                agenda.ShowDialog();
            }
        }
예제 #2
0
        // Membuka formEvent
        public void Event()
        {
            FormEvent events = new FormEvent();

            this.Visible = false;
            events.ShowDialog();
        }
예제 #3
0
        private void label17_Click(object sender, EventArgs e)
        {
            data.Event(label17.Text);
            FormEvent agenda = new FormEvent();

            this.Visible = false;
            agenda.ShowDialog();
        }