コード例 #1
0
ファイル: ImportDialog.cs プロジェクト: bbriggs/FieldWorks
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Windows.Forms.Button btnCancel;
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ImportDialog));
			System.Windows.Forms.Button btnSource;
			System.Windows.Forms.Button btnHelp;
			System.Windows.Forms.GroupBox grpDataTypes;
			System.Windows.Forms.GroupBox grpImportWhat;
			this.chkBackTranslation = new System.Windows.Forms.CheckBox();
			this.chkBookIntros = new System.Windows.Forms.CheckBox();
			this.chkOther = new System.Windows.Forms.CheckBox();
			this.chkTranslation = new System.Windows.Forms.CheckBox();
			this.scrPsgFrom = new SILUBS.SharedScrControls.ScrBookControl();
			this.label2 = new System.Windows.Forms.Label();
			this.scrPsgTo = new SILUBS.SharedScrControls.ScrBookControl();
			this.radImportRange = new System.Windows.Forms.RadioButton();
			this.radImportEntire = new System.Windows.Forms.RadioButton();
			this.btnOK = new System.Windows.Forms.Button();
			btnCancel = new System.Windows.Forms.Button();
			btnSource = new System.Windows.Forms.Button();
			btnHelp = new System.Windows.Forms.Button();
			grpDataTypes = new System.Windows.Forms.GroupBox();
			grpImportWhat = new System.Windows.Forms.GroupBox();
			grpDataTypes.SuspendLayout();
			grpImportWhat.SuspendLayout();
			this.SuspendLayout();
			//
			// btnCancel
			//
			resources.ApplyResources(btnCancel, "btnCancel");
			btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			btnCancel.Name = "btnCancel";
			//
			// btnSource
			//
			resources.ApplyResources(btnSource, "btnSource");
			btnSource.Name = "btnSource";
			btnSource.Click += new System.EventHandler(this.btnSource_Click);
			//
			// btnHelp
			//
			resources.ApplyResources(btnHelp, "btnHelp");
			btnHelp.Name = "btnHelp";
			btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
			//
			// grpDataTypes
			//
			grpDataTypes.Controls.Add(this.chkBackTranslation);
			grpDataTypes.Controls.Add(this.chkBookIntros);
			grpDataTypes.Controls.Add(this.chkOther);
			grpDataTypes.Controls.Add(this.chkTranslation);
			resources.ApplyResources(grpDataTypes, "grpDataTypes");
			grpDataTypes.Name = "grpDataTypes";
			grpDataTypes.TabStop = false;
			//
			// chkBackTranslation
			//
			resources.ApplyResources(this.chkBackTranslation, "chkBackTranslation");
			this.chkBackTranslation.Name = "chkBackTranslation";
			this.chkBackTranslation.CheckedChanged += new System.EventHandler(this.TypeOfDataToImportChanged);
			//
			// chkBookIntros
			//
			resources.ApplyResources(this.chkBookIntros, "chkBookIntros");
			this.chkBookIntros.Name = "chkBookIntros";
			//
			// chkOther
			//
			resources.ApplyResources(this.chkOther, "chkOther");
			this.chkOther.Name = "chkOther";
			this.chkOther.CheckedChanged += new System.EventHandler(this.TypeOfDataToImportChanged);
			//
			// chkTranslation
			//
			this.chkTranslation.Checked = true;
			this.chkTranslation.CheckState = System.Windows.Forms.CheckState.Checked;
			resources.ApplyResources(this.chkTranslation, "chkTranslation");
			this.chkTranslation.Name = "chkTranslation";
			this.chkTranslation.CheckedChanged += new System.EventHandler(this.TypeOfDataToImportChanged);
			//
			// grpImportWhat
			//
			grpImportWhat.Controls.Add(this.scrPsgFrom);
			grpImportWhat.Controls.Add(this.label2);
			grpImportWhat.Controls.Add(this.scrPsgTo);
			grpImportWhat.Controls.Add(this.radImportRange);
			grpImportWhat.Controls.Add(this.radImportEntire);
			resources.ApplyResources(grpImportWhat, "grpImportWhat");
			grpImportWhat.Name = "grpImportWhat";
			grpImportWhat.TabStop = false;
			//
			// scrPsgFrom
			//
			this.scrPsgFrom.BackColor = System.Drawing.SystemColors.Window;
			resources.ApplyResources(this.scrPsgFrom, "scrPsgFrom");
			this.scrPsgFrom.Name = "scrPsgFrom";
			this.scrPsgFrom.Reference = "textBox1";
			this.scrPsgFrom.PassageChanged += new SILUBS.SharedScrControls.ScrPassageControl.PassageChangedHandler(this.scrPsgFrom_PassageChanged);
			//
			// label2
			//
			this.label2.BackColor = System.Drawing.SystemColors.Control;
			resources.ApplyResources(this.label2, "label2");
			this.label2.Name = "label2";
			//
			// scrPsgTo
			//
			this.scrPsgTo.BackColor = System.Drawing.SystemColors.Window;
			resources.ApplyResources(this.scrPsgTo, "scrPsgTo");
			this.scrPsgTo.Name = "scrPsgTo";
			this.scrPsgTo.Reference = "textBox1";
			this.scrPsgTo.PassageChanged += new SILUBS.SharedScrControls.ScrPassageControl.PassageChangedHandler(this.scrPsgTo_PassageChanged);
			//
			// radImportRange
			//
			resources.ApplyResources(this.radImportRange, "radImportRange");
			this.radImportRange.Name = "radImportRange";
			this.radImportRange.CheckedChanged += new System.EventHandler(this.radImportRange_CheckedChanged);
			//
			// radImportEntire
			//
			resources.ApplyResources(this.radImportEntire, "radImportEntire");
			this.radImportEntire.Name = "radImportEntire";
			//
			// btnOK
			//
			resources.ApplyResources(this.btnOK, "btnOK");
			this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.btnOK.Name = "btnOK";
			//
			// ImportDialog
			//
			this.AcceptButton = this.btnOK;
			resources.ApplyResources(this, "$this");
			this.CancelButton = btnCancel;
			this.Controls.Add(grpImportWhat);
			this.Controls.Add(grpDataTypes);
			this.Controls.Add(btnHelp);
			this.Controls.Add(btnSource);
			this.Controls.Add(btnCancel);
			this.Controls.Add(this.btnOK);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "ImportDialog";
			this.ShowInTaskbar = false;
			grpDataTypes.ResumeLayout(false);
			grpImportWhat.ResumeLayout(false);
			this.ResumeLayout(false);

		}
コード例 #2
0
ファイル: ExportXmlDialog.cs プロジェクト: bbriggs/FieldWorks
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		/// ------------------------------------------------------------------------------------
		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ExportXmlDialog));
			System.Windows.Forms.Label label5;
			this.m_lblExportWhat = new System.Windows.Forms.Label();
			this.lblFrom = new System.Windows.Forms.Label();
			this.lblFile = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.lblTo = new System.Windows.Forms.Label();
			this.label8 = new System.Windows.Forms.Label();
			this.label9 = new System.Windows.Forms.Label();
			this.label10 = new System.Windows.Forms.Label();
			this.m_btnBrowse = new System.Windows.Forms.Button();
			this.m_btnOk = new System.Windows.Forms.Button();
			this.m_btnCancel = new System.Windows.Forms.Button();
			this.m_btnHelp = new System.Windows.Forms.Button();
			this.m_txtOutputFile = new System.Windows.Forms.TextBox();
			this.m_rdoAllBooks = new System.Windows.Forms.RadioButton();
			this.m_rdoFilteredBooks = new System.Windows.Forms.RadioButton();
			this.m_rdoSingleBook = new System.Windows.Forms.RadioButton();
			this.m_lblFilterList = new System.Windows.Forms.Label();
			this.m_scrBook = new SILUBS.SharedScrControls.ScrBookControl();
			this.m_grpSectionRange = new System.Windows.Forms.GroupBox();
			this.cboTo = new System.Windows.Forms.ComboBox();
			this.cboFrom = new System.Windows.Forms.ComboBox();
			this.m_txtDescription = new System.Windows.Forms.TextBox();
			label5 = new System.Windows.Forms.Label();
			this.m_grpSectionRange.SuspendLayout();
			this.SuspendLayout();
			//
			// m_lblExportWhat
			//
			resources.ApplyResources(this.m_lblExportWhat, "m_lblExportWhat");
			this.m_lblExportWhat.Name = "m_lblExportWhat";
			//
			// label5
			//
			resources.ApplyResources(label5, "label5");
			label5.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			label5.Name = "label5";
			//
			// lblFrom
			//
			resources.ApplyResources(this.lblFrom, "lblFrom");
			this.lblFrom.Name = "lblFrom";
			//
			// lblFile
			//
			resources.ApplyResources(this.lblFile, "lblFile");
			this.lblFile.AutoEllipsis = true;
			this.lblFile.Name = "lblFile";
			//
			// label2
			//
			resources.ApplyResources(this.label2, "label2");
			this.label2.Name = "label2";
			//
			// label3
			//
			resources.ApplyResources(this.label3, "label3");
			this.label3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.label3.Name = "label3";
			//
			// lblTo
			//
			resources.ApplyResources(this.lblTo, "lblTo");
			this.lblTo.Name = "lblTo";
			//
			// label8
			//
			resources.ApplyResources(this.label8, "label8");
			this.label8.Name = "label8";
			//
			// label9
			//
			resources.ApplyResources(this.label9, "label9");
			this.label9.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
			this.label9.Name = "label9";
			//
			// label10
			//
			resources.ApplyResources(this.label10, "label10");
			this.label10.Name = "label10";
			//
			// m_btnBrowse
			//
			resources.ApplyResources(this.m_btnBrowse, "m_btnBrowse");
			this.m_btnBrowse.Name = "m_btnBrowse";
			this.m_btnBrowse.Click += new System.EventHandler(this.m_btnBrowse_Click);
			//
			// m_btnOk
			//
			resources.ApplyResources(this.m_btnOk, "m_btnOk");
			this.m_btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.m_btnOk.Name = "m_btnOk";
			this.m_btnOk.Click += new System.EventHandler(this.m_btnOk_Click);
			//
			// m_btnCancel
			//
			resources.ApplyResources(this.m_btnCancel, "m_btnCancel");
			this.m_btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.m_btnCancel.Name = "m_btnCancel";
			//
			// m_btnHelp
			//
			resources.ApplyResources(this.m_btnHelp, "m_btnHelp");
			this.m_btnHelp.Name = "m_btnHelp";
			this.m_btnHelp.Click += new System.EventHandler(this.m_btnHelp_Click);
			//
			// m_txtOutputFile
			//
			resources.ApplyResources(this.m_txtOutputFile, "m_txtOutputFile");
			this.m_txtOutputFile.Name = "m_txtOutputFile";
			//
			// m_rdoAllBooks
			//
			resources.ApplyResources(this.m_rdoAllBooks, "m_rdoAllBooks");
			this.m_rdoAllBooks.Checked = true;
			this.m_rdoAllBooks.Name = "m_rdoAllBooks";
			this.m_rdoAllBooks.TabStop = true;
			this.m_rdoAllBooks.UseVisualStyleBackColor = true;
			//
			// m_rdoFilteredBooks
			//
			resources.ApplyResources(this.m_rdoFilteredBooks, "m_rdoFilteredBooks");
			this.m_rdoFilteredBooks.Name = "m_rdoFilteredBooks";
			this.m_rdoFilteredBooks.TabStop = true;
			this.m_rdoFilteredBooks.UseVisualStyleBackColor = true;
			//
			// m_rdoSingleBook
			//
			resources.ApplyResources(this.m_rdoSingleBook, "m_rdoSingleBook");
			this.m_rdoSingleBook.Name = "m_rdoSingleBook";
			this.m_rdoSingleBook.TabStop = true;
			this.m_rdoSingleBook.UseVisualStyleBackColor = true;
			//
			// m_lblFilterList
			//
			resources.ApplyResources(this.m_lblFilterList, "m_lblFilterList");
			this.m_lblFilterList.AutoEllipsis = true;
			this.m_lblFilterList.Name = "m_lblFilterList";
			//
			// m_scrBook
			//
			this.m_scrBook.BackColor = System.Drawing.SystemColors.Window;
			resources.ApplyResources(this.m_scrBook, "m_scrBook");
			this.m_scrBook.Name = "m_scrBook";
			this.m_scrBook.Reference = "";
			//
			// m_grpSectionRange
			//
			resources.ApplyResources(this.m_grpSectionRange, "m_grpSectionRange");
			this.m_grpSectionRange.Controls.Add(this.cboTo);
			this.m_grpSectionRange.Controls.Add(this.cboFrom);
			this.m_grpSectionRange.Controls.Add(this.lblFrom);
			this.m_grpSectionRange.Controls.Add(this.lblTo);
			this.m_grpSectionRange.Name = "m_grpSectionRange";
			this.m_grpSectionRange.TabStop = false;
			//
			// cboTo
			//
			resources.ApplyResources(this.cboTo, "cboTo");
			this.cboTo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cboTo.FormattingEnabled = true;
			this.cboTo.Name = "cboTo";
			this.cboTo.SelectedIndexChanged += new System.EventHandler(this.cboTo_SelectedIndexChanged);
			//
			// cboFrom
			//
			resources.ApplyResources(this.cboFrom, "cboFrom");
			this.cboFrom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cboFrom.FormattingEnabled = true;
			this.cboFrom.Name = "cboFrom";
			this.cboFrom.SelectedIndexChanged += new System.EventHandler(this.cboFrom_SelectedIndexChanged);
			//
			// m_txtDescription
			//
			resources.ApplyResources(this.m_txtDescription, "m_txtDescription");
			this.m_txtDescription.Name = "m_txtDescription";
			//
			// ExportXmlDialog
			//
			this.AcceptButton = this.m_btnOk;
			resources.ApplyResources(this, "$this");
			this.CancelButton = this.m_btnCancel;
			this.Controls.Add(this.m_txtDescription);
			this.Controls.Add(this.label10);
			this.Controls.Add(this.label8);
			this.Controls.Add(this.m_grpSectionRange);
			this.Controls.Add(this.m_scrBook);
			this.Controls.Add(this.m_lblFilterList);
			this.Controls.Add(this.m_rdoSingleBook);
			this.Controls.Add(this.m_rdoFilteredBooks);
			this.Controls.Add(this.m_rdoAllBooks);
			this.Controls.Add(this.m_lblExportWhat);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.m_btnHelp);
			this.Controls.Add(this.m_btnCancel);
			this.Controls.Add(this.m_btnOk);
			this.Controls.Add(this.m_btnBrowse);
			this.Controls.Add(this.m_txtOutputFile);
			this.Controls.Add(this.lblFile);
			this.Controls.Add(this.label3);
			this.Controls.Add(label5);
			this.Controls.Add(this.label9);
			this.DoubleBuffered = true;
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "ExportXmlDialog";
			this.ShowIcon = false;
			this.ShowInTaskbar = false;
			this.m_grpSectionRange.ResumeLayout(false);
			this.m_grpSectionRange.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}