private void loginButton_Click(object sender, EventArgs e) { if (usrnEdit.Text != "" && passEdit.Text != "") { boardForm bf = new boardForm(usrnEdit.Text); if (!Directory.Exists("data/users/" + usrnEdit.Text)) { Directory.CreateDirectory("data/users/" + usrnEdit.Text); Directory.CreateDirectory("data/users/" + usrnEdit.Text + "/help"); Directory.CreateDirectory("data/users/" + usrnEdit.Text + "/uploaded"); } bf.Show(); this.Close(); } }
public helpFeedback(boardForm bf) { InitializeComponent(); this.BackgroundImage = SetImageOpacity(this.BackgroundImage, 0.15F); this.bf = bf; }