private void DoImport()
 {
     Form.FormEnabled = false;
     GateSharkImportDialog Dialog = new GateSharkImportDialog(Form);
     Dialog.ShowDialog();
     ImportedCode = Dialog.code;
     Dialog.Dispose();
     Form.FormEnabled = true;
 }
 private void ButtonImport_Click(object sender, System.EventArgs e)
 {
     code = new GateShark(Form, CodeTextBox.Text, DescriptionTextBox.Text);
     Close();
 }