예제 #1
0
파일: Login.cs 프로젝트: vanpana/.root
        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();
            }
        }
예제 #2
0
 public helpFeedback(boardForm bf)
 {
     InitializeComponent();
     this.BackgroundImage = SetImageOpacity(this.BackgroundImage, 0.15F);
     this.bf = bf;
 }