private void mifindinproject_Click(object sender, EventArgs e) { using (var findinfiles = new FindInFiles()) { if (Globals.ActiveProject == null) return; findinfiles.Directory = Globals.ActiveProject.Path; findinfiles.StartPosition = FormStartPosition.CenterParent; findinfiles.ShowDialog(this); } }
private void mifindinfiles_Click(object sender, EventArgs e) { using (var findinfiles = new FindInFiles()) { findinfiles.StartPosition = FormStartPosition.CenterParent; findinfiles.ShowDialog(this); } }