private void btnAdd_Click(object sender, EventArgs e) { this.Hide(); mainForm.createTBOffline(txtLocation.Text); this.Close(); }