Example #1
0
        private void btnBeranda_Click(object sender, EventArgs e)
        {
            Beranda formBeranda = new Beranda();

            formBeranda.Show();
            this.Hide();
        }
Example #2
0
 public Masuk()
 {
     InitializeComponent();
     //untuk progressBar
     this.Text = "Mang-Cook";
     backgroundWorkerMasuk.RunWorkerAsync();
     backgroundWorkerMasuk.WorkerReportsProgress = true;
     panelMasuk.Visible = false;
     //
     formDaftar        = new Daftar(this);
     formBeranda       = new Beranda();
     txtEmail.Text     = "Email Pengguna";
     txtKataSandi.Text = "Kata Sandi";
     btnLogin.Image    = masuk;
 }