this.hide();
if(your conditions) { this.hide(); } else { this.show(); //or this.visibility = true; }
private void Form1_Load(object sender, EventArgs e) { if (your_condition == false) this.Show(); else this.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)