Beispiel #1
0
        private void loginToolStripMenuItem_Click(object sender, EventArgs e)
        {
            form_login f = new form_login();

            f.Owner = this;
            f.ShowDialog();
        }
Beispiel #2
0
 private void form_utama_Shown(object sender, EventArgs e)
 {
     if (File.Exists("AplikasiLaporanKegiatanEkstraKurikuler.db"))
     {
         sqlite = new LibSqlite("Data Source = AplikasiLaporanKegiatanEkstraKurikuler.db");
         form_login f = new form_login();
         f.Owner = this;
         f.ShowDialog();
     }
     else
     {
         MessageBox.Show("Database tidak ditemukan harap periksa kelengkapan aplikasi", "Informasi", MessageBoxButtons.OK);
         Application.Exit();
     }
 }