//logout private void btn_ownmode_logout_Click(object sender, EventArgs e) { using (loginscreen ls = new loginscreen()) { Hide(); ls.ShowDialog(); } }
private void btn_aimode_logout_Click(object sender, EventArgs e) { using (loginscreen ls = new loginscreen()) { Functions.propfiles.save(); Hide(); ls.ShowDialog(); } }