private void Upload_Load(object sender, EventArgs e) { if (!File.Exists(AppDomain.CurrentDomain.BaseDirectory + "\\LogInfo.txt")) { fConfig f1 = new fConfig(); f1.ShowDialog(); } if (!GetInfo()) { return; } db = new Database(connection); if (db.Connection == null) { return; } }
private void button3_Click(object sender, EventArgs e) { fConfig f1 = new fConfig(); f1.ShowDialog(); }