Ejemplo n.º 1
0
        private void label5_Click(object sender, EventArgs e)
        {
            frmSQLServer frm = new frmSQLServer();

            frm.mainFrm = mainFrm;
            frm.ShowDialog();
            frmLogin_Load(null, null);
        }
Ejemplo n.º 2
0
 private void selezionaBasiDiDatiToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmSQLServer frm = new frmSQLServer();
     frm.mainFrm = this;
     frm.Show();
 }
Ejemplo n.º 3
0
 public void updateConnectionString()
 {
     string path = AppDomain.CurrentDomain.BaseDirectory;
     if (System.IO.File.Exists(path + "server.txt"))
     {
         string dd;
         using (StreamReader rd = new StreamReader(path + "server.txt"))
         {
             dd = rd.ReadLine();
         }
         connectionString = dd;
     }
     else
     {
         frmSQLServer frm = new frmSQLServer();
         frm.mainFrm = this;
         frm.ShowDialog();
     }
 }
Ejemplo n.º 4
0
 private void label5_Click(object sender, EventArgs e)
 {
     frmSQLServer frm = new frmSQLServer();
     frm.mainFrm = mainFrm;
     frm.ShowDialog();
     frmLogin_Load(null, null);
 }