private void BtnView_Click(object sender, EventArgs e) { CreateFile cf = new CreateFile(); this.Hide(); cf.Show(); }
private void btnCreate_Click(object sender, EventArgs e) { if (txtOpen.Text != "") { CreateFile cf = new CreateFile(); this.Hide(); cf.Show(); } else { MessageBox.Show("Choose a folder to monitor first", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Stop); } }