/// <summary> /// Get default export parameters for user /// </summary> /// <param name="rf"></param> void GetDefaultExportParameters(ResultsFormat rf) { string txt = Preferences.Get("SpotfireExportDefaults"); do { if (!Lex.IsNullOrEmpty(txt)) { try { string[] sa = txt.Split('\t'); rf.OpenMode = (SpotfireOpenModeEnum)int.Parse(sa[0]); rf.QualifiedNumberSplit = QnfSplitControl.DeserializeQualifiedNumberSplit(sa[1]); rf.DuplicateKeyTableValues = bool.Parse(sa[2]); rf.ViewStructures = bool.Parse(sa[3]); break; // finish up } catch (Exception ex) { ex = ex; } // fall through to defaults on error } rf.OpenMode = SpotfireOpenModeEnum.None; rf.QualifiedNumberSplit = // split by qualifier and numeric value QnfEnum.Split | QnfEnum.Qualifier | QnfEnum.NumericValue; rf.DuplicateKeyTableValues = false; rf.ViewStructures = false; } while (false); if (rf.QueryManager != null && rf.QueryManager.Query != null && rf.QueryManager.Query.DuplicateKeyValues) { rf.DuplicateKeyTableValues = true; } return; }
/// <summary> /// Get default export parameters for user /// </summary> /// <param name="rf"></param> void GetDefaultExportParameters(ResultsFormat rf) { string txt = Preferences.Get("SdFileExportDefaults"); do { if (!Lex.IsNullOrEmpty(txt)) { try { string[] sa = txt.Split('\t'); rf.StructureFlags = (MoleculeTransformationFlags)int.Parse(sa[0]); rf.QualifiedNumberSplit = QnfSplitControl.DeserializeQualifiedNumberSplit(sa[1]); rf.DuplicateKeyTableValues = bool.Parse(sa[2]); rf.AllowExtraLengthFieldNames = bool.Parse(sa[3]); rf.RunInBackground = bool.Parse(sa[4]); break; // finish up } catch (Exception ex) { ex = ex; } // fall through to defaults on error } rf.StructureFlags = MoleculeTransformationFlags.None; rf.QualifiedNumberSplit = // split by qualifier and numeric value QnfEnum.Split | QnfEnum.Qualifier | QnfEnum.NumericValue; rf.DuplicateKeyTableValues = false; rf.AllowExtraLengthFieldNames = false; rf.RunInBackground = false; } while (false); if (rf.QueryManager != null && rf.QueryManager.Query != null && rf.QueryManager.Query.DuplicateKeyValues) { rf.DuplicateKeyTableValues = true; } return; }
/// <summary> /// Save default export parameters for user /// </summary> /// <param name="rf"></param> void SaveDefaultExportParameters(ResultsFormat rf) { string txt = ((int)rf.OpenMode).ToString() + '\t' + QnfSplitControl.SerializeQualifiedNumberSplit(rf.QualifiedNumberSplit) + '\t' + rf.DuplicateKeyTableValues + '\t' + rf.ViewStructures; Preferences.Set("SpotfireExportDefaults", txt); return; }
/// <summary> /// Save default export parameters for user /// </summary> /// <param name="rf"></param> void SaveDefaultExportParameters(ResultsFormat rf) { string txt = ((int)rf.StructureFlags).ToString() + '\t' + QnfSplitControl.SerializeQualifiedNumberSplit(rf.QualifiedNumberSplit) + '\t' + rf.DuplicateKeyTableValues + '\t' + rf.AllowExtraLengthFieldNames + '\t' + rf.RunInBackground; Preferences.Set("SdFileExportDefaults", txt); if (SaveAsDefaultFolderOption.Checked) { SetupExcel.SaveDefaultFolder(rf.OutputFileName); } return; }
/// <summary> /// Save default export parameters for user /// </summary> /// <param name="rf"></param> void SaveDefaultExportParameters(ResultsFormat rf) { string txt = rf.HeaderLines.ToString() + '\t' + rf.FixedHeightStructures + '\t' + QnfSplitControl.SerializeQualifiedNumberSplit(rf.QualifiedNumberSplit) + '\t' + rf.DuplicateKeyTableValues + '\t' + rf.RunInBackground + '\t' + rf.ExportStructureFormat.ToString(); Preferences.Set("ExcelExportDefaults", txt); if (SaveAsDefaultFolderOption.Checked) { SaveDefaultFolder(rf.OutputFileName); } return; }
/// <summary> /// Get default export parameters for user /// </summary> /// <param name="rf"></param> void GetDefaultExportParameters(ResultsFormat rf) { string txt = Preferences.Get("ExcelExportDefaults"); do { if (!Lex.IsNullOrEmpty(txt)) { try { string[] sa = txt.Split('\t'); rf.HeaderLines = int.Parse(sa[0]); rf.FixedHeightStructures = bool.Parse(sa[1]); rf.QualifiedNumberSplit = QnfSplitControl.DeserializeQualifiedNumberSplit(sa[2]); rf.DuplicateKeyTableValues = bool.Parse(sa[3]); rf.RunInBackground = bool.Parse(sa[4]); rf.ExportStructureFormat = (ExportStructureFormat)Enum.Parse(typeof(ExportStructureFormat), sa[5], true); break; // finish up } catch (Exception ex) { ex = ex; } // fall through to defaults on error } rf.HeaderLines = 2; rf.FixedHeightStructures = false; rf.QualifiedNumberSplit = // split by qualifier and numeric value QnfEnum.Split | QnfEnum.Qualifier | QnfEnum.NumericValue; rf.DuplicateKeyTableValues = false; rf.RunInBackground = false; rf.ExportStructureFormat = ExportStructureFormat.Insight; } while (false); if (rf.QueryManager != null && rf.QueryManager.Query != null && rf.QueryManager.Query.DuplicateKeyValues) { rf.DuplicateKeyTableValues = true; } return; }
public static void Load() { string value; int i1; PrefDict = UserObjectDao.GetUserParameters(Security.UserName); SS.I.PreferredProjectId = // get preferred project Get("PreferredProject", "DEFAULT_FOLDER"); SS.I.TableColumnZoom = GetInt("TableColumnZoom", 100); SS.I.GraphicsColumnZoom = GetInt("GraphicsColumnZoom", 100); SS.I.ScrollGridByPixel = GetBool("ScrollGridByPixel", false); // default to row scrolling SS.I.AsyncImageRetrieval = GetBool("AsyncImageRetrieval", true); try // get preferred number format { value = Get("DefaultNumberFormat", "SigDigits"); EnumUtil.TryParse(value, out SS.I.DefaultNumberFormat); SS.I.DefaultDecimals = GetInt("DefaultDecimals", 3); } catch (Exception ex) { } SS.I.RepeatReport = // repeating report across page GetBool("RepeatReport", false); MqlUtil.DefaultToSingleStepQueryExecution = // default to single step query execution GetBool("DefaultToSingleStepQueryExecution", false); if (MqlUtil.DefaultToSingleStepQueryExecution) { QueryEngine.SetParameter("DefaultToSingleStepQueryExecution", MqlUtil.DefaultToSingleStepQueryExecution.ToString()); // set in QE for current session } SS.I.FindRelatedCpdsInQuickSearch = GetBool("FindRelatedCpdsInQuickSearch", true); SS.I.RestoreWindowsAtStartup = // get bool for restoring windows at startup GetBool("RestoreWindowsAtStartup", false); SS.I.BreakHtmlPopupsAtPageWidth = GetBool("BreakHtmlPopupsAtPageWidth", true); try // qualified number splitting { value = Get("QualifiedNumberSplit"); SS.I.QualifiedNumberSplit = QnfSplitControl.DeserializeQualifiedNumberSplit(value); } catch (Exception ex) { } SS.I.HilightCidChanges = GetBool("HilightCorpIdChanges", true); SS.I.RemoveLeadingZerosFromCids = GetBool("RemoveLeadingZerosFromCids", true); SS.I.GridMarkCheckBoxesInitially = // (always false initially now) GetBool("GridMarkCheckBoxesInitially", false); value = Get("DefaultHorizontalAlignment", MetaColumn.SessionDefaultHAlignment.ToString()); MetaColumn.SessionDefaultHAlignment = (HorizontalAlignmentEx)Enum.Parse(typeof(HorizontalAlignmentEx), value, true); value = Get("DefaultVerticalAlignment", MetaColumn.SessionDefaultVAlignment.ToString()); MetaColumn.SessionDefaultVAlignment = (VerticalAlignmentEx)Enum.Parse(typeof(VerticalAlignmentEx), value, true); SS.I.EvenRowBackgroundColor = Color.FromArgb(GetInt("EvenRowBackgroundColor", Color.WhiteSmoke.ToArgb())); // slightly contrasting color SS.I.OddRowBackgroundColor = Color.FromArgb(GetInt("OddRowBackgroundColor", Color.White.ToArgb())); ClientDirs.DefaultMobiusUserDocumentsFolder = Preferences.Get("DefaultExportFolder", ClientDirs.DefaultMobiusUserDocumentsFolder); MoleculeFormat molFormat = MoleculeFormat.Molfile; value = Get("PreferredMoleculeFormat", "Molfile"); if (Enum.TryParse(value, out molFormat)) { MoleculeMx.PreferredMoleculeFormat = molFormat; } return; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetupExcel)); this.Browse = new DevExpress.XtraEditors.SimpleButton(); this.FileName = new DevExpress.XtraEditors.TextEdit(); this.DuplicateKeyValues = new DevExpress.XtraEditors.CheckEdit(); this.FixedHeightStructs = new DevExpress.XtraEditors.CheckEdit(); this.QualifiedNumberFormatting = new System.Windows.Forms.GroupBox(); this.QnfSplitOptions = new Mobius.ClientComponents.QnfSplitControl(); this.Check1 = new DevExpress.XtraEditors.CheckEdit(); this.Label3 = new DevExpress.XtraEditors.LabelControl(); this.Cancel = new DevExpress.XtraEditors.SimpleButton(); this.OK = new DevExpress.XtraEditors.SimpleButton(); this.InsightStructure = new DevExpress.XtraEditors.CheckEdit(); this.Label1 = new DevExpress.XtraEditors.LabelControl(); this.label4 = new DevExpress.XtraEditors.LabelControl(); this.ExportInBackground = new DevExpress.XtraEditors.CheckEdit(); this.Bitmaps16x16 = new System.Windows.Forms.ImageList(this.components); this.HeaderLines = new DevExpress.XtraEditors.ComboBoxEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.MetafileStructure = new DevExpress.XtraEditors.CheckEdit(); this.SaveAsDefaultFolderOption = new DevExpress.XtraEditors.CheckEdit(); ((System.ComponentModel.ISupportInitialize)(this.FileName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DuplicateKeyValues.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.FixedHeightStructs.Properties)).BeginInit(); this.QualifiedNumberFormatting.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Check1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.InsightStructure.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ExportInBackground.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.HeaderLines.Properties)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.MetafileStructure.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SaveAsDefaultFolderOption.Properties)).BeginInit(); this.SuspendLayout(); // // Browse // this.Browse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.Browse.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Browse.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Browse.Appearance.Options.UseFont = true; this.Browse.Appearance.Options.UseForeColor = true; this.Browse.Cursor = System.Windows.Forms.Cursors.Default; this.Browse.Location = new System.Drawing.Point(297, 5); this.Browse.Name = "Browse"; this.Browse.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Browse.Size = new System.Drawing.Size(69, 22); this.Browse.TabIndex = 29; this.Browse.Text = "&Browse..."; this.Browse.Click += new System.EventHandler(this.Browse_Click); // // FileName // this.FileName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.FileName.Cursor = System.Windows.Forms.Cursors.IBeam; this.FileName.Location = new System.Drawing.Point(67, 6); this.FileName.Name = "FileName"; this.FileName.Properties.Appearance.BackColor = System.Drawing.SystemColors.Window; this.FileName.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FileName.Properties.Appearance.ForeColor = System.Drawing.SystemColors.WindowText; this.FileName.Properties.Appearance.Options.UseBackColor = true; this.FileName.Properties.Appearance.Options.UseFont = true; this.FileName.Properties.Appearance.Options.UseForeColor = true; this.FileName.RightToLeft = System.Windows.Forms.RightToLeft.No; this.FileName.Size = new System.Drawing.Size(223, 20); this.FileName.TabIndex = 28; this.FileName.Tag = "Title"; // // DuplicateKeyValues // this.DuplicateKeyValues.Cursor = System.Windows.Forms.Cursors.Default; this.DuplicateKeyValues.Location = new System.Drawing.Point(24, 157); this.DuplicateKeyValues.Name = "DuplicateKeyValues"; this.DuplicateKeyValues.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.DuplicateKeyValues.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.DuplicateKeyValues.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.DuplicateKeyValues.Properties.Appearance.Options.UseBackColor = true; this.DuplicateKeyValues.Properties.Appearance.Options.UseFont = true; this.DuplicateKeyValues.Properties.Appearance.Options.UseForeColor = true; this.DuplicateKeyValues.Properties.Caption = "Duplicate data that occurs only once per compound"; this.DuplicateKeyValues.RightToLeft = System.Windows.Forms.RightToLeft.No; this.DuplicateKeyValues.Size = new System.Drawing.Size(318, 19); this.DuplicateKeyValues.TabIndex = 22; this.DuplicateKeyValues.Tag = "FixedHeightStructs"; // // FixedHeightStructs // this.FixedHeightStructs.Cursor = System.Windows.Forms.Cursors.Default; this.FixedHeightStructs.Location = new System.Drawing.Point(351, 22); this.FixedHeightStructs.Name = "FixedHeightStructs"; this.FixedHeightStructs.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.FixedHeightStructs.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FixedHeightStructs.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.FixedHeightStructs.Properties.Appearance.Options.UseBackColor = true; this.FixedHeightStructs.Properties.Appearance.Options.UseFont = true; this.FixedHeightStructs.Properties.Appearance.Options.UseForeColor = true; this.FixedHeightStructs.Properties.Caption = "Format structures into fixed size boxes"; this.FixedHeightStructs.RightToLeft = System.Windows.Forms.RightToLeft.No; this.FixedHeightStructs.Size = new System.Drawing.Size(217, 19); this.FixedHeightStructs.TabIndex = 21; this.FixedHeightStructs.Tag = "FixedHeightStructs"; this.FixedHeightStructs.Visible = false; // // QualifiedNumberFormatting // this.QualifiedNumberFormatting.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.QualifiedNumberFormatting.BackColor = System.Drawing.Color.Transparent; this.QualifiedNumberFormatting.Controls.Add(this.QnfSplitOptions); this.QualifiedNumberFormatting.Controls.Add(this.Check1); this.QualifiedNumberFormatting.Controls.Add(this.Label3); this.QualifiedNumberFormatting.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.QualifiedNumberFormatting.ForeColor = System.Drawing.SystemColors.ControlText; this.QualifiedNumberFormatting.Location = new System.Drawing.Point(9, 67); this.QualifiedNumberFormatting.Name = "QualifiedNumberFormatting"; this.QualifiedNumberFormatting.RightToLeft = System.Windows.Forms.RightToLeft.No; this.QualifiedNumberFormatting.Size = new System.Drawing.Size(359, 79); this.QualifiedNumberFormatting.TabIndex = 26; this.QualifiedNumberFormatting.TabStop = false; this.QualifiedNumberFormatting.Text = "Formatting of \"Qualified\" Numeric Values (e.g. >50) "; // // QnfSplitOptions // this.QnfSplitOptions.Location = new System.Drawing.Point(11, 21); this.QnfSplitOptions.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); this.QnfSplitOptions.Name = "QnfSplitOptions"; this.QnfSplitOptions.Size = new System.Drawing.Size(359, 49); this.QnfSplitOptions.TabIndex = 17; // // Check1 // this.Check1.Cursor = System.Windows.Forms.Cursors.Default; this.Check1.Location = new System.Drawing.Point(33, 122); this.Check1.Name = "Check1"; this.Check1.Properties.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Check1.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Check1.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Check1.Properties.Appearance.Options.UseBackColor = true; this.Check1.Properties.Appearance.Options.UseFont = true; this.Check1.Properties.Appearance.Options.UseForeColor = true; this.Check1.Properties.Caption = "Open output file with Spotfire (Spotfire must be installed)"; this.Check1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Check1.Size = new System.Drawing.Size(344, 19); this.Check1.TabIndex = 15; // // Label3 // this.Label3.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Label3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label3.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Label3.Appearance.Options.UseBackColor = true; this.Label3.Appearance.Options.UseFont = true; this.Label3.Appearance.Options.UseForeColor = true; this.Label3.Cursor = System.Windows.Forms.Cursors.Default; this.Label3.Location = new System.Drawing.Point(58, 140); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(521, 13); this.Label3.TabIndex = 16; this.Label3.Text = "Note: You can open an existing Spotfire file from the main menu with the expert c" + "ommand: SPOTFIRE filename"; // // Cancel // this.Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.Cancel.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Cancel.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Cancel.Appearance.Options.UseFont = true; this.Cancel.Appearance.Options.UseForeColor = true; this.Cancel.Cursor = System.Windows.Forms.Cursors.Default; this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.Cancel.Location = new System.Drawing.Point(297, 245); this.Cancel.Name = "Cancel"; this.Cancel.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Cancel.Size = new System.Drawing.Size(68, 23); this.Cancel.TabIndex = 24; this.Cancel.Tag = "Cancel"; this.Cancel.Text = "Cancel"; // // OK // this.OK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.OK.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.OK.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.OK.Appearance.Options.UseFont = true; this.OK.Appearance.Options.UseForeColor = true; this.OK.Cursor = System.Windows.Forms.Cursors.Default; this.OK.Location = new System.Drawing.Point(221, 245); this.OK.Name = "OK"; this.OK.RightToLeft = System.Windows.Forms.RightToLeft.No; this.OK.Size = new System.Drawing.Size(69, 23); this.OK.TabIndex = 23; this.OK.Tag = "OK"; this.OK.Text = "OK"; this.OK.Click += new System.EventHandler(this.OK_Click); // // InsightStructure // this.InsightStructure.Cursor = System.Windows.Forms.Cursors.Default; this.InsightStructure.EditValue = true; this.InsightStructure.Location = new System.Drawing.Point(11, 22); this.InsightStructure.Name = "InsightStructure"; this.InsightStructure.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.InsightStructure.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.InsightStructure.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.InsightStructure.Properties.Appearance.Options.UseBackColor = true; this.InsightStructure.Properties.Appearance.Options.UseFont = true; this.InsightStructure.Properties.Appearance.Options.UseForeColor = true; this.InsightStructure.Properties.Caption = "Editable structures (Insight for Excel)"; this.InsightStructure.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.InsightStructure.Properties.RadioGroupIndex = 1; this.InsightStructure.RightToLeft = System.Windows.Forms.RightToLeft.No; this.InsightStructure.Size = new System.Drawing.Size(304, 19); this.InsightStructure.TabIndex = 2; // // Label1 // this.Label1.Appearance.BackColor = System.Drawing.Color.Transparent; this.Label1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label1.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Label1.Appearance.Options.UseBackColor = true; this.Label1.Appearance.Options.UseFont = true; this.Label1.Appearance.Options.UseForeColor = true; this.Label1.Cursor = System.Windows.Forms.Cursors.Default; this.Label1.Location = new System.Drawing.Point(8, 9); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(48, 13); this.Label1.TabIndex = 30; this.Label1.Text = "File name:"; // // label4 // this.label4.Appearance.BackColor = System.Drawing.Color.Transparent; this.label4.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.label4.Appearance.Options.UseBackColor = true; this.label4.Appearance.Options.UseFont = true; this.label4.Appearance.Options.UseForeColor = true; this.label4.Cursor = System.Windows.Forms.Cursors.Default; this.label4.Location = new System.Drawing.Point(20, 36); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(62, 13); this.label4.TabIndex = 32; this.label4.Text = "Header lines:"; // // ExportInBackground // this.ExportInBackground.Cursor = System.Windows.Forms.Cursors.Default; this.ExportInBackground.Location = new System.Drawing.Point(24, 205); this.ExportInBackground.Name = "ExportInBackground"; this.ExportInBackground.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.ExportInBackground.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ExportInBackground.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.ExportInBackground.Properties.Appearance.Options.UseBackColor = true; this.ExportInBackground.Properties.Appearance.Options.UseFont = true; this.ExportInBackground.Properties.Appearance.Options.UseForeColor = true; this.ExportInBackground.Properties.Caption = "Export in the background"; this.ExportInBackground.RightToLeft = System.Windows.Forms.RightToLeft.No; this.ExportInBackground.Size = new System.Drawing.Size(206, 19); this.ExportInBackground.TabIndex = 33; // // Bitmaps16x16 // this.Bitmaps16x16.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("Bitmaps16x16.ImageStream"))); this.Bitmaps16x16.TransparentColor = System.Drawing.Color.Cyan; this.Bitmaps16x16.Images.SetKeyName(0, "SharePoint.bmp"); // // HeaderLines // this.HeaderLines.Location = new System.Drawing.Point(94, 33); this.HeaderLines.Name = "HeaderLines"; this.HeaderLines.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.HeaderLines.Properties.DropDownRows = 3; this.HeaderLines.Properties.Items.AddRange(new object[] { "0", "1", "2" }); this.HeaderLines.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.HeaderLines.Size = new System.Drawing.Size(52, 20); this.HeaderLines.TabIndex = 31; // // labelControl1 // this.labelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelControl1.LineVisible = true; this.labelControl1.Location = new System.Drawing.Point(-2, 230); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(398, 10); this.labelControl1.TabIndex = 38; // // groupBox1 // this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.BackColor = System.Drawing.Color.Transparent; this.groupBox1.Controls.Add(this.InsightStructure); this.groupBox1.Controls.Add(this.FixedHeightStructs); this.groupBox1.Controls.Add(this.labelControl2); this.groupBox1.Controls.Add(this.MetafileStructure); this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.ForeColor = System.Drawing.SystemColors.ControlText; this.groupBox1.Location = new System.Drawing.Point(353, 152); this.groupBox1.Name = "groupBox1"; this.groupBox1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.groupBox1.Size = new System.Drawing.Size(359, 79); this.groupBox1.TabIndex = 27; this.groupBox1.TabStop = false; this.groupBox1.Text = "Chemical Structure Format"; this.groupBox1.Visible = false; // // labelControl2 // this.labelControl2.Appearance.BackColor = System.Drawing.SystemColors.Control; this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl2.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.labelControl2.Appearance.Options.UseBackColor = true; this.labelControl2.Appearance.Options.UseFont = true; this.labelControl2.Appearance.Options.UseForeColor = true; this.labelControl2.Cursor = System.Windows.Forms.Cursors.Default; this.labelControl2.Location = new System.Drawing.Point(58, 140); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(521, 13); this.labelControl2.TabIndex = 16; this.labelControl2.Text = "Note: You can open an existing Spotfire file from the main menu with the expert c" + "ommand: SPOTFIRE filename"; // // MetafileStructure // this.MetafileStructure.Cursor = System.Windows.Forms.Cursors.Default; this.MetafileStructure.Location = new System.Drawing.Point(11, 47); this.MetafileStructure.Name = "MetafileStructure"; this.MetafileStructure.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.MetafileStructure.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MetafileStructure.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.MetafileStructure.Properties.Appearance.Options.UseBackColor = true; this.MetafileStructure.Properties.Appearance.Options.UseFont = true; this.MetafileStructure.Properties.Appearance.Options.UseForeColor = true; this.MetafileStructure.Properties.Caption = "Uneditable structures (Windows metafile)"; this.MetafileStructure.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.MetafileStructure.Properties.RadioGroupIndex = 1; this.MetafileStructure.RightToLeft = System.Windows.Forms.RightToLeft.No; this.MetafileStructure.Size = new System.Drawing.Size(344, 19); this.MetafileStructure.TabIndex = 3; this.MetafileStructure.TabStop = false; // // SaveAsDefaultFolderOption // this.SaveAsDefaultFolderOption.Cursor = System.Windows.Forms.Cursors.Default; this.SaveAsDefaultFolderOption.Location = new System.Drawing.Point(24, 181); this.SaveAsDefaultFolderOption.Name = "SaveAsDefaultFolderOption"; this.SaveAsDefaultFolderOption.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.SaveAsDefaultFolderOption.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.SaveAsDefaultFolderOption.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.SaveAsDefaultFolderOption.Properties.Appearance.Options.UseBackColor = true; this.SaveAsDefaultFolderOption.Properties.Appearance.Options.UseFont = true; this.SaveAsDefaultFolderOption.Properties.Appearance.Options.UseForeColor = true; this.SaveAsDefaultFolderOption.Properties.Caption = "Use this as the default export folder in the future"; this.SaveAsDefaultFolderOption.RightToLeft = System.Windows.Forms.RightToLeft.No; this.SaveAsDefaultFolderOption.Size = new System.Drawing.Size(288, 19); this.SaveAsDefaultFolderOption.TabIndex = 47; this.SaveAsDefaultFolderOption.Tag = "FixedHeightStructs"; // // SetupExcel // this.AcceptButton = this.OK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.CancelButton = this.Cancel; this.ClientSize = new System.Drawing.Size(375, 275); this.Controls.Add(this.SaveAsDefaultFolderOption); this.Controls.Add(this.groupBox1); this.Controls.Add(this.FileName); this.Controls.Add(this.DuplicateKeyValues); this.Controls.Add(this.ExportInBackground); this.Controls.Add(this.Cancel); this.Controls.Add(this.OK); this.Controls.Add(this.label4); this.Controls.Add(this.HeaderLines); this.Controls.Add(this.Browse); this.Controls.Add(this.QualifiedNumberFormatting); this.Controls.Add(this.Label1); this.Controls.Add(this.labelControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SetupExcel"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Export to Excel"; this.Activated += new System.EventHandler(this.SetupExcel_Activated); this.VisibleChanged += new System.EventHandler(this.SetupExcel_VisibleChanged); ((System.ComponentModel.ISupportInitialize)(this.FileName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DuplicateKeyValues.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.FixedHeightStructs.Properties)).EndInit(); this.QualifiedNumberFormatting.ResumeLayout(false); this.QualifiedNumberFormatting.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.Check1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.InsightStructure.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ExportInBackground.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.HeaderLines.Properties)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.MetafileStructure.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SaveAsDefaultFolderOption.Properties)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Frame2 = new System.Windows.Forms.GroupBox(); this.RemoveHydrogens = new DevExpress.XtraEditors.CheckEdit(); this.NoSuperAtom = new DevExpress.XtraEditors.CheckEdit(); this.LargeFragOnly = new DevExpress.XtraEditors.CheckEdit(); this.RemoveStereochemistry = new DevExpress.XtraEditors.CheckEdit(); this.Label3 = new DevExpress.XtraEditors.LabelControl(); this.Cancel = new DevExpress.XtraEditors.SimpleButton(); this.OK = new DevExpress.XtraEditors.SimpleButton(); this.Frame1 = new System.Windows.Forms.GroupBox(); this.StructureOnly = new DevExpress.XtraEditors.CheckEdit(); this.AllData = new DevExpress.XtraEditors.CheckEdit(); this.OpenSpotfire = new DevExpress.XtraEditors.CheckEdit(); this.Label2 = new DevExpress.XtraEditors.LabelControl(); this.Browse = new DevExpress.XtraEditors.SimpleButton(); this.FileName = new DevExpress.XtraEditors.TextEdit(); this.Label1 = new DevExpress.XtraEditors.LabelControl(); this.ExportInBackground = new DevExpress.XtraEditors.CheckEdit(); this.QualifiedNumberFormatting = new System.Windows.Forms.GroupBox(); this.checkBox2 = new DevExpress.XtraEditors.CheckEdit(); this.label5 = new DevExpress.XtraEditors.LabelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.AllowExtraLengthFieldNames = new DevExpress.XtraEditors.CheckEdit(); this.DuplicateKeyValues = new DevExpress.XtraEditors.CheckEdit(); this.SaveAsDefaultFolderOption = new DevExpress.XtraEditors.CheckEdit(); this.QnfSplitOptions = new Mobius.ClientComponents.QnfSplitControl(); this.Frame2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.RemoveHydrogens.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.NoSuperAtom.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LargeFragOnly.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RemoveStereochemistry.Properties)).BeginInit(); this.Frame1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.StructureOnly.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.AllData.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.OpenSpotfire.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.FileName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ExportInBackground.Properties)).BeginInit(); this.QualifiedNumberFormatting.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkBox2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.AllowExtraLengthFieldNames.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DuplicateKeyValues.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SaveAsDefaultFolderOption.Properties)).BeginInit(); this.SuspendLayout(); // // Frame2 // this.Frame2.BackColor = System.Drawing.Color.Transparent; this.Frame2.Controls.Add(this.RemoveHydrogens); this.Frame2.Controls.Add(this.NoSuperAtom); this.Frame2.Controls.Add(this.LargeFragOnly); this.Frame2.Controls.Add(this.RemoveStereochemistry); this.Frame2.Controls.Add(this.Label3); this.Frame2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Frame2.ForeColor = System.Drawing.SystemColors.ControlText; this.Frame2.Location = new System.Drawing.Point(6, 130); this.Frame2.Name = "Frame2"; this.Frame2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Frame2.Size = new System.Drawing.Size(402, 120); this.Frame2.TabIndex = 17; this.Frame2.TabStop = false; this.Frame2.Text = "Structure Output Options"; // // RemoveHydrogens // this.RemoveHydrogens.Cursor = System.Windows.Forms.Cursors.Default; this.RemoveHydrogens.Location = new System.Drawing.Point(16, 42); this.RemoveHydrogens.Name = "RemoveHydrogens"; this.RemoveHydrogens.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.RemoveHydrogens.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.RemoveHydrogens.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.RemoveHydrogens.Properties.Appearance.Options.UseBackColor = true; this.RemoveHydrogens.Properties.Appearance.Options.UseFont = true; this.RemoveHydrogens.Properties.Appearance.Options.UseForeColor = true; this.RemoveHydrogens.Properties.Caption = "Remove hydrogen atoms"; this.RemoveHydrogens.RightToLeft = System.Windows.Forms.RightToLeft.No; this.RemoveHydrogens.Size = new System.Drawing.Size(304, 19); this.RemoveHydrogens.TabIndex = 15; // // NoSuperAtom // this.NoSuperAtom.Cursor = System.Windows.Forms.Cursors.Default; this.NoSuperAtom.Location = new System.Drawing.Point(17, 93); this.NoSuperAtom.Name = "NoSuperAtom"; this.NoSuperAtom.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.NoSuperAtom.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.NoSuperAtom.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.NoSuperAtom.Properties.Appearance.Options.UseBackColor = true; this.NoSuperAtom.Properties.Appearance.Options.UseFont = true; this.NoSuperAtom.Properties.Appearance.Options.UseForeColor = true; this.NoSuperAtom.Properties.Caption = "Remove any \"Super Atom\" information from the end of each molfile"; this.NoSuperAtom.RightToLeft = System.Windows.Forms.RightToLeft.No; this.NoSuperAtom.Size = new System.Drawing.Size(368, 19); this.NoSuperAtom.TabIndex = 14; // // LargeFragOnly // this.LargeFragOnly.Cursor = System.Windows.Forms.Cursors.Default; this.LargeFragOnly.Location = new System.Drawing.Point(16, 18); this.LargeFragOnly.Name = "LargeFragOnly"; this.LargeFragOnly.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.LargeFragOnly.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.LargeFragOnly.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.LargeFragOnly.Properties.Appearance.Options.UseBackColor = true; this.LargeFragOnly.Properties.Appearance.Options.UseFont = true; this.LargeFragOnly.Properties.Appearance.Options.UseForeColor = true; this.LargeFragOnly.Properties.Caption = "Output only the largest fragment for each structure"; this.LargeFragOnly.RightToLeft = System.Windows.Forms.RightToLeft.No; this.LargeFragOnly.Size = new System.Drawing.Size(342, 19); this.LargeFragOnly.TabIndex = 13; // // RemoveStereochemistry // this.RemoveStereochemistry.Cursor = System.Windows.Forms.Cursors.Default; this.RemoveStereochemistry.Location = new System.Drawing.Point(17, 68); this.RemoveStereochemistry.Name = "RemoveStereochemistry"; this.RemoveStereochemistry.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.RemoveStereochemistry.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.RemoveStereochemistry.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.RemoveStereochemistry.Properties.Appearance.Options.UseBackColor = true; this.RemoveStereochemistry.Properties.Appearance.Options.UseFont = true; this.RemoveStereochemistry.Properties.Appearance.Options.UseForeColor = true; this.RemoveStereochemistry.Properties.Caption = "Remove stereochemistry"; this.RemoveStereochemistry.RightToLeft = System.Windows.Forms.RightToLeft.No; this.RemoveStereochemistry.Size = new System.Drawing.Size(344, 19); this.RemoveStereochemistry.TabIndex = 11; // // Label3 // this.Label3.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Label3.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label3.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Label3.Appearance.Options.UseBackColor = true; this.Label3.Appearance.Options.UseFont = true; this.Label3.Appearance.Options.UseForeColor = true; this.Label3.Cursor = System.Windows.Forms.Cursors.Default; this.Label3.Location = new System.Drawing.Point(58, 140); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(521, 13); this.Label3.TabIndex = 12; this.Label3.Text = "Note: You can open an existing Spotfire file from the main menu with the expert c" + "ommand: SPOTFIRE filename"; // // Cancel // this.Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.Cancel.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Cancel.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Cancel.Appearance.Options.UseFont = true; this.Cancel.Appearance.Options.UseForeColor = true; this.Cancel.Cursor = System.Windows.Forms.Cursors.Default; this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.Cancel.Location = new System.Drawing.Point(340, 463); this.Cancel.Name = "Cancel"; this.Cancel.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Cancel.Size = new System.Drawing.Size(68, 24); this.Cancel.TabIndex = 14; this.Cancel.Tag = "Cancel"; this.Cancel.Text = "Cancel"; // // OK // this.OK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.OK.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.OK.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.OK.Appearance.Options.UseFont = true; this.OK.Appearance.Options.UseForeColor = true; this.OK.Cursor = System.Windows.Forms.Cursors.Default; this.OK.Location = new System.Drawing.Point(264, 463); this.OK.Name = "OK"; this.OK.RightToLeft = System.Windows.Forms.RightToLeft.No; this.OK.Size = new System.Drawing.Size(68, 24); this.OK.TabIndex = 13; this.OK.Tag = "OK"; this.OK.Text = "OK"; this.OK.Click += new System.EventHandler(this.OK_Click); // // Frame1 // this.Frame1.BackColor = System.Drawing.Color.Transparent; this.Frame1.Controls.Add(this.StructureOnly); this.Frame1.Controls.Add(this.AllData); this.Frame1.Controls.Add(this.OpenSpotfire); this.Frame1.Controls.Add(this.Label2); this.Frame1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Frame1.ForeColor = System.Drawing.SystemColors.ControlText; this.Frame1.Location = new System.Drawing.Point(6, 39); this.Frame1.Name = "Frame1"; this.Frame1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Frame1.Size = new System.Drawing.Size(402, 73); this.Frame1.TabIndex = 16; this.Frame1.TabStop = false; this.Frame1.Text = "Data to be written to the SDfile"; // // StructureOnly // this.StructureOnly.Cursor = System.Windows.Forms.Cursors.Default; this.StructureOnly.Location = new System.Drawing.Point(17, 45); this.StructureOnly.Name = "StructureOnly"; this.StructureOnly.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.StructureOnly.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.StructureOnly.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.StructureOnly.Properties.Appearance.Options.UseBackColor = true; this.StructureOnly.Properties.Appearance.Options.UseFont = true; this.StructureOnly.Properties.Appearance.Options.UseForeColor = true; this.StructureOnly.Properties.Caption = "Structures and compound ids only"; this.StructureOnly.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.StructureOnly.Properties.RadioGroupIndex = 1; this.StructureOnly.RightToLeft = System.Windows.Forms.RightToLeft.No; this.StructureOnly.Size = new System.Drawing.Size(235, 19); this.StructureOnly.TabIndex = 9; this.StructureOnly.TabStop = false; // // AllData // this.AllData.Cursor = System.Windows.Forms.Cursors.Default; this.AllData.EditValue = true; this.AllData.Location = new System.Drawing.Point(17, 19); this.AllData.Name = "AllData"; this.AllData.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.AllData.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.AllData.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.AllData.Properties.Appearance.Options.UseBackColor = true; this.AllData.Properties.Appearance.Options.UseFont = true; this.AllData.Properties.Appearance.Options.UseForeColor = true; this.AllData.Properties.Caption = "&All selected data fields"; this.AllData.Properties.CheckStyle = DevExpress.XtraEditors.Controls.CheckStyles.Radio; this.AllData.Properties.RadioGroupIndex = 1; this.AllData.RightToLeft = System.Windows.Forms.RightToLeft.No; this.AllData.Size = new System.Drawing.Size(235, 19); this.AllData.TabIndex = 8; // // OpenSpotfire // this.OpenSpotfire.Cursor = System.Windows.Forms.Cursors.Default; this.OpenSpotfire.Location = new System.Drawing.Point(33, 122); this.OpenSpotfire.Name = "OpenSpotfire"; this.OpenSpotfire.Properties.Appearance.BackColor = System.Drawing.SystemColors.Control; this.OpenSpotfire.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.OpenSpotfire.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.OpenSpotfire.Properties.Appearance.Options.UseBackColor = true; this.OpenSpotfire.Properties.Appearance.Options.UseFont = true; this.OpenSpotfire.Properties.Appearance.Options.UseForeColor = true; this.OpenSpotfire.Properties.Caption = "Open output file with Spotfire (Spotfire must be installed)"; this.OpenSpotfire.RightToLeft = System.Windows.Forms.RightToLeft.No; this.OpenSpotfire.Size = new System.Drawing.Size(344, 19); this.OpenSpotfire.TabIndex = 2; // // Label2 // this.Label2.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Label2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label2.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Label2.Appearance.Options.UseBackColor = true; this.Label2.Appearance.Options.UseFont = true; this.Label2.Appearance.Options.UseForeColor = true; this.Label2.Cursor = System.Windows.Forms.Cursors.Default; this.Label2.Location = new System.Drawing.Point(58, 140); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(521, 13); this.Label2.TabIndex = 7; this.Label2.Text = "Note: You can open an existing Spotfire file from the main menu with the expert c" + "ommand: SPOTFIRE filename"; // // Browse // this.Browse.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Browse.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Browse.Appearance.Options.UseFont = true; this.Browse.Appearance.Options.UseForeColor = true; this.Browse.Cursor = System.Windows.Forms.Cursors.Default; this.Browse.Location = new System.Drawing.Point(340, 8); this.Browse.Name = "Browse"; this.Browse.RightToLeft = System.Windows.Forms.RightToLeft.No; this.Browse.Size = new System.Drawing.Size(68, 22); this.Browse.TabIndex = 12; this.Browse.Text = "&Browse..."; this.Browse.Click += new System.EventHandler(this.Browse_Click); // // FileName // this.FileName.Cursor = System.Windows.Forms.Cursors.IBeam; this.FileName.Location = new System.Drawing.Point(108, 9); this.FileName.Name = "FileName"; this.FileName.Properties.Appearance.BackColor = System.Drawing.SystemColors.Window; this.FileName.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FileName.Properties.Appearance.ForeColor = System.Drawing.SystemColors.WindowText; this.FileName.Properties.Appearance.Options.UseBackColor = true; this.FileName.Properties.Appearance.Options.UseFont = true; this.FileName.Properties.Appearance.Options.UseForeColor = true; this.FileName.RightToLeft = System.Windows.Forms.RightToLeft.No; this.FileName.Size = new System.Drawing.Size(227, 20); this.FileName.TabIndex = 11; this.FileName.Tag = "Title"; // // Label1 // this.Label1.Appearance.BackColor = System.Drawing.Color.Transparent; this.Label1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Label1.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.Label1.Appearance.Options.UseBackColor = true; this.Label1.Appearance.Options.UseFont = true; this.Label1.Appearance.Options.UseForeColor = true; this.Label1.Cursor = System.Windows.Forms.Cursors.Default; this.Label1.Location = new System.Drawing.Point(8, 9); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(85, 13); this.Label1.TabIndex = 15; this.Label1.Text = "Output File Name:"; // // ExportInBackground // this.ExportInBackground.Cursor = System.Windows.Forms.Cursors.Default; this.ExportInBackground.Location = new System.Drawing.Point(22, 423); this.ExportInBackground.Name = "ExportInBackground"; this.ExportInBackground.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.ExportInBackground.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ExportInBackground.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.ExportInBackground.Properties.Appearance.Options.UseBackColor = true; this.ExportInBackground.Properties.Appearance.Options.UseFont = true; this.ExportInBackground.Properties.Appearance.Options.UseForeColor = true; this.ExportInBackground.Properties.Caption = "Export in the background"; this.ExportInBackground.RightToLeft = System.Windows.Forms.RightToLeft.No; this.ExportInBackground.Size = new System.Drawing.Size(145, 19); this.ExportInBackground.TabIndex = 18; // // QualifiedNumberFormatting // this.QualifiedNumberFormatting.BackColor = System.Drawing.Color.Transparent; this.QualifiedNumberFormatting.Controls.Add(this.QnfSplitOptions); this.QualifiedNumberFormatting.Controls.Add(this.checkBox2); this.QualifiedNumberFormatting.Controls.Add(this.label5); this.QualifiedNumberFormatting.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.QualifiedNumberFormatting.ForeColor = System.Drawing.SystemColors.ControlText; this.QualifiedNumberFormatting.Location = new System.Drawing.Point(6, 266); this.QualifiedNumberFormatting.Name = "QualifiedNumberFormatting"; this.QualifiedNumberFormatting.RightToLeft = System.Windows.Forms.RightToLeft.No; this.QualifiedNumberFormatting.Size = new System.Drawing.Size(402, 74); this.QualifiedNumberFormatting.TabIndex = 36; this.QualifiedNumberFormatting.TabStop = false; this.QualifiedNumberFormatting.Text = "Formatting of \"Qualified\" numeric values (e.g. >50) "; // // checkBox2 // this.checkBox2.Cursor = System.Windows.Forms.Cursors.Default; this.checkBox2.Location = new System.Drawing.Point(33, 122); this.checkBox2.Name = "checkBox2"; this.checkBox2.Properties.Appearance.BackColor = System.Drawing.SystemColors.Control; this.checkBox2.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBox2.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.checkBox2.Properties.Appearance.Options.UseBackColor = true; this.checkBox2.Properties.Appearance.Options.UseFont = true; this.checkBox2.Properties.Appearance.Options.UseForeColor = true; this.checkBox2.Properties.Caption = "Open output file with Spotfire (Spotfire must be installed)"; this.checkBox2.RightToLeft = System.Windows.Forms.RightToLeft.No; this.checkBox2.Size = new System.Drawing.Size(344, 19); this.checkBox2.TabIndex = 15; // // label5 // this.label5.Appearance.BackColor = System.Drawing.SystemColors.Control; this.label5.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.label5.Appearance.Options.UseBackColor = true; this.label5.Appearance.Options.UseFont = true; this.label5.Appearance.Options.UseForeColor = true; this.label5.Cursor = System.Windows.Forms.Cursors.Default; this.label5.Location = new System.Drawing.Point(58, 140); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(521, 13); this.label5.TabIndex = 16; this.label5.Text = "Note: You can open an existing Spotfire file from the main menu with the expert c" + "ommand: SPOTFIRE filename"; // // labelControl1 // this.labelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.labelControl1.LineVisible = true; this.labelControl1.Location = new System.Drawing.Point(-4, 449); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(425, 10); this.labelControl1.TabIndex = 37; // // AllowExtraLengthFieldNames // this.AllowExtraLengthFieldNames.Cursor = System.Windows.Forms.Cursors.Default; this.AllowExtraLengthFieldNames.Location = new System.Drawing.Point(23, 373); this.AllowExtraLengthFieldNames.Name = "AllowExtraLengthFieldNames"; this.AllowExtraLengthFieldNames.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.AllowExtraLengthFieldNames.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.AllowExtraLengthFieldNames.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.AllowExtraLengthFieldNames.Properties.Appearance.Options.UseBackColor = true; this.AllowExtraLengthFieldNames.Properties.Appearance.Options.UseFont = true; this.AllowExtraLengthFieldNames.Properties.Appearance.Options.UseForeColor = true; this.AllowExtraLengthFieldNames.Properties.Caption = "Allow field names to exceed the normal 30 character limit"; this.AllowExtraLengthFieldNames.RightToLeft = System.Windows.Forms.RightToLeft.No; this.AllowExtraLengthFieldNames.Size = new System.Drawing.Size(342, 19); this.AllowExtraLengthFieldNames.TabIndex = 38; // // DuplicateKeyValues // this.DuplicateKeyValues.Cursor = System.Windows.Forms.Cursors.Default; this.DuplicateKeyValues.Location = new System.Drawing.Point(23, 348); this.DuplicateKeyValues.Name = "DuplicateKeyValues"; this.DuplicateKeyValues.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.DuplicateKeyValues.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.DuplicateKeyValues.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.DuplicateKeyValues.Properties.Appearance.Options.UseBackColor = true; this.DuplicateKeyValues.Properties.Appearance.Options.UseFont = true; this.DuplicateKeyValues.Properties.Appearance.Options.UseForeColor = true; this.DuplicateKeyValues.Properties.Caption = "Duplicate data that occurs only once per compound"; this.DuplicateKeyValues.RightToLeft = System.Windows.Forms.RightToLeft.No; this.DuplicateKeyValues.Size = new System.Drawing.Size(318, 19); this.DuplicateKeyValues.TabIndex = 39; this.DuplicateKeyValues.Tag = "FixedHeightStructs"; // // SaveAsDefaultFolderOption // this.SaveAsDefaultFolderOption.Cursor = System.Windows.Forms.Cursors.Default; this.SaveAsDefaultFolderOption.Location = new System.Drawing.Point(23, 398); this.SaveAsDefaultFolderOption.Name = "SaveAsDefaultFolderOption"; this.SaveAsDefaultFolderOption.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.SaveAsDefaultFolderOption.Properties.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.SaveAsDefaultFolderOption.Properties.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.SaveAsDefaultFolderOption.Properties.Appearance.Options.UseBackColor = true; this.SaveAsDefaultFolderOption.Properties.Appearance.Options.UseFont = true; this.SaveAsDefaultFolderOption.Properties.Appearance.Options.UseForeColor = true; this.SaveAsDefaultFolderOption.Properties.Caption = "Use this as the default export folder in the future"; this.SaveAsDefaultFolderOption.RightToLeft = System.Windows.Forms.RightToLeft.No; this.SaveAsDefaultFolderOption.Size = new System.Drawing.Size(256, 19); this.SaveAsDefaultFolderOption.TabIndex = 47; this.SaveAsDefaultFolderOption.TabStop = false; this.SaveAsDefaultFolderOption.Tag = "FixedHeightStructs"; // // QnfSplitOptions // this.QnfSplitOptions.Location = new System.Drawing.Point(12, 18); this.QnfSplitOptions.Name = "QnfSplitOptions"; this.QnfSplitOptions.Size = new System.Drawing.Size(359, 49); this.QnfSplitOptions.TabIndex = 38; // // SetupSdFile // this.AcceptButton = this.OK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.CancelButton = this.Cancel; this.ClientSize = new System.Drawing.Size(418, 492); this.Controls.Add(this.SaveAsDefaultFolderOption); this.Controls.Add(this.DuplicateKeyValues); this.Controls.Add(this.AllowExtraLengthFieldNames); this.Controls.Add(this.labelControl1); this.Controls.Add(this.QualifiedNumberFormatting); this.Controls.Add(this.ExportInBackground); this.Controls.Add(this.Frame2); this.Controls.Add(this.Cancel); this.Controls.Add(this.OK); this.Controls.Add(this.Frame1); this.Controls.Add(this.Browse); this.Controls.Add(this.FileName); this.Controls.Add(this.Label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SetupSdFile"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Export SDfile"; this.Activated += new System.EventHandler(this.SetupSdFile_Activated); this.VisibleChanged += new System.EventHandler(this.SetupSdFile_VisibleChanged); this.Frame2.ResumeLayout(false); this.Frame2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.RemoveHydrogens.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.NoSuperAtom.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LargeFragOnly.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RemoveStereochemistry.Properties)).EndInit(); this.Frame1.ResumeLayout(false); this.Frame1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.StructureOnly.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.AllData.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.OpenSpotfire.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.FileName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ExportInBackground.Properties)).EndInit(); this.QualifiedNumberFormatting.ResumeLayout(false); this.QualifiedNumberFormatting.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkBox2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.AllowExtraLengthFieldNames.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DuplicateKeyValues.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SaveAsDefaultFolderOption.Properties)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }