private void FileOpenProject() { AttachProjectForm attachProjectForm = new AttachProjectForm(); if (attachProjectForm.ShowDialog(this) == DialogResult.OK) { attachProjectForm.Close(); BeginInvoke(new LoadProjectDelegate(LoadProject), new object[] { attachProjectForm.ClientProtocol, attachProjectForm.Config }); } }
public AttachProjectForm(AttachProjectForm previousAttachProjectForm) { clientProtocol = previousAttachProjectForm.clientProtocol; config = previousAttachProjectForm.config; }