예제 #1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Simulate loading the dialog
        /// </summary>
        /// ------------------------------------------------------------------------------------
        public void SimulateShowDialog()
        {
            CheckDisposed();

            FileNameSchemeCtrl.InitSchemeComboBx();
            OnLoad(EventArgs.Empty);
        }
예제 #2
0
		/// ------------------------------------------------------------------------------------
		/// <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(ExportUsfmDialog));
			this.btnMappings = new System.Windows.Forms.Button();
			this.btnCancel = new System.Windows.Forms.Button();
			this.m_btnHelp = new System.Windows.Forms.Button();
			this.grpOutputTo = new System.Windows.Forms.GroupBox();
			this.txtOutputFolder = new System.Windows.Forms.TextBox();
			this.fileNameSchemeCtrl = new SIL.FieldWorks.TE.FileNameSchemeCtrl();
			this.lblOutputFolder = new System.Windows.Forms.Label();
			this.btnFolderBrowse = new System.Windows.Forms.Button();
			this.btnOk = new System.Windows.Forms.Button();
			this.chkNotes = new System.Windows.Forms.CheckBox();
			this.chklbWritingSystems = new System.Windows.Forms.CheckedListBox();
			this.lblBooks = new System.Windows.Forms.Label();
			this.grpExportWhat = new System.Windows.Forms.GroupBox();
			this.pnlExportWhat = new System.Windows.Forms.Panel();
			this.toolTipInvalidChar = new System.Windows.Forms.ToolTip(this.components);
			this.grpOutputTo.SuspendLayout();
			this.grpExportWhat.SuspendLayout();
			this.SuspendLayout();
			//
			// btnMappings
			//
			resources.ApplyResources(this.btnMappings, "btnMappings");
			this.btnMappings.Name = "btnMappings";
			//
			// btnCancel
			//
			resources.ApplyResources(this.btnCancel, "btnCancel");
			this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.btnCancel.Name = "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);
			//
			// grpOutputTo
			//
			resources.ApplyResources(this.grpOutputTo, "grpOutputTo");
			this.grpOutputTo.Controls.Add(this.txtOutputFolder);
			this.grpOutputTo.Controls.Add(this.fileNameSchemeCtrl);
			this.grpOutputTo.Controls.Add(this.lblOutputFolder);
			this.grpOutputTo.Controls.Add(this.btnFolderBrowse);
			this.grpOutputTo.Name = "grpOutputTo";
			this.grpOutputTo.TabStop = false;
			//
			// txtOutputFolder
			//
			resources.ApplyResources(this.txtOutputFolder, "txtOutputFolder");
			this.txtOutputFolder.Name = "txtOutputFolder";
			this.txtOutputFolder.TextChanged += new System.EventHandler(this.txtOutputFolder_TextChanged);
			//
			// fileNameSchemeCtrl
			//
			this.fileNameSchemeCtrl.Extension = "";
			resources.ApplyResources(this.fileNameSchemeCtrl, "fileNameSchemeCtrl");
			this.fileNameSchemeCtrl.Name = "fileNameSchemeCtrl";
			this.fileNameSchemeCtrl.Prefix = "";
			this.fileNameSchemeCtrl.Scheme = "";
			this.fileNameSchemeCtrl.Suffix = "";
			this.fileNameSchemeCtrl.UserModifiedSuffix = false;
			//
			// lblOutputFolder
			//
			resources.ApplyResources(this.lblOutputFolder, "lblOutputFolder");
			this.lblOutputFolder.Name = "lblOutputFolder";
			//
			// btnFolderBrowse
			//
			resources.ApplyResources(this.btnFolderBrowse, "btnFolderBrowse");
			this.btnFolderBrowse.Name = "btnFolderBrowse";
			this.btnFolderBrowse.Click += new System.EventHandler(this.btnFolderBrowse_Click);
			//
			// btnOk
			//
			resources.ApplyResources(this.btnOk, "btnOk");
			this.btnOk.Name = "btnOk";
			this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
			//
			// chkNotes
			//
			resources.ApplyResources(this.chkNotes, "chkNotes");
			this.chkNotes.Name = "chkNotes";
			this.chkNotes.UseVisualStyleBackColor = true;
			this.chkNotes.CheckedChanged += new System.EventHandler(this.txtOutputFolder_TextChanged);
			//
			// chklbWritingSystems
			//
			resources.ApplyResources(this.chklbWritingSystems, "chklbWritingSystems");
			this.chklbWritingSystems.Name = "chklbWritingSystems";
			this.chklbWritingSystems.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.chklbWritingSystems_ItemCheck);
			//
			// lblBooks
			//
			resources.ApplyResources(this.lblBooks, "lblBooks");
			this.lblBooks.Name = "lblBooks";
			//
			// grpExportWhat
			//
			resources.ApplyResources(this.grpExportWhat, "grpExportWhat");
			this.grpExportWhat.Controls.Add(this.pnlExportWhat);
			this.grpExportWhat.Controls.Add(this.chkNotes);
			this.grpExportWhat.Controls.Add(this.chklbWritingSystems);
			this.grpExportWhat.Controls.Add(this.btnMappings);
			this.grpExportWhat.Name = "grpExportWhat";
			this.grpExportWhat.TabStop = false;
			//
			// pnlExportWhat
			//
			resources.ApplyResources(this.pnlExportWhat, "pnlExportWhat");
			this.pnlExportWhat.Name = "pnlExportWhat";
			//
			// toolTipInvalidChar
			//
			this.toolTipInvalidChar.Active = false;
			this.toolTipInvalidChar.AutomaticDelay = 0;
			this.toolTipInvalidChar.AutoPopDelay = 0;
			this.toolTipInvalidChar.InitialDelay = 0;
			this.toolTipInvalidChar.IsBalloon = true;
			this.toolTipInvalidChar.ReshowDelay = 0;
			//
			// ExportUsfmDialog
			//
			this.AcceptButton = this.btnOk;
			resources.ApplyResources(this, "$this");
			this.CancelButton = this.btnCancel;
			this.Controls.Add(this.grpExportWhat);
			this.Controls.Add(this.grpOutputTo);
			this.Controls.Add(this.lblBooks);
			this.Controls.Add(this.m_btnHelp);
			this.Controls.Add(this.btnCancel);
			this.Controls.Add(this.btnOk);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "ExportUsfmDialog";
			this.ShowInTaskbar = false;
			this.grpOutputTo.ResumeLayout(false);
			this.grpOutputTo.PerformLayout();
			this.grpExportWhat.ResumeLayout(false);
			this.grpExportWhat.PerformLayout();
			this.ResumeLayout(false);

		}
예제 #3
0
 /// ------------------------------------------------------------------------------------
 /// <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(ExportUsfmDialog));
     this.btnMappings        = new System.Windows.Forms.Button();
     this.btnCancel          = new System.Windows.Forms.Button();
     this.m_btnHelp          = new System.Windows.Forms.Button();
     this.grpOutputTo        = new System.Windows.Forms.GroupBox();
     this.txtOutputFolder    = new System.Windows.Forms.TextBox();
     this.fileNameSchemeCtrl = new SIL.FieldWorks.TE.FileNameSchemeCtrl();
     this.lblOutputFolder    = new System.Windows.Forms.Label();
     this.btnFolderBrowse    = new System.Windows.Forms.Button();
     this.btnOk               = new System.Windows.Forms.Button();
     this.chkNotes            = new System.Windows.Forms.CheckBox();
     this.chklbWritingSystems = new System.Windows.Forms.CheckedListBox();
     this.lblBooks            = new System.Windows.Forms.Label();
     this.grpExportWhat       = new System.Windows.Forms.GroupBox();
     this.pnlExportWhat       = new System.Windows.Forms.Panel();
     this.toolTipInvalidChar  = new System.Windows.Forms.ToolTip(this.components);
     this.grpOutputTo.SuspendLayout();
     this.grpExportWhat.SuspendLayout();
     this.SuspendLayout();
     //
     // btnMappings
     //
     resources.ApplyResources(this.btnMappings, "btnMappings");
     this.btnMappings.Name = "btnMappings";
     //
     // btnCancel
     //
     resources.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Name         = "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);
     //
     // grpOutputTo
     //
     resources.ApplyResources(this.grpOutputTo, "grpOutputTo");
     this.grpOutputTo.Controls.Add(this.txtOutputFolder);
     this.grpOutputTo.Controls.Add(this.fileNameSchemeCtrl);
     this.grpOutputTo.Controls.Add(this.lblOutputFolder);
     this.grpOutputTo.Controls.Add(this.btnFolderBrowse);
     this.grpOutputTo.Name    = "grpOutputTo";
     this.grpOutputTo.TabStop = false;
     //
     // txtOutputFolder
     //
     resources.ApplyResources(this.txtOutputFolder, "txtOutputFolder");
     this.txtOutputFolder.Name         = "txtOutputFolder";
     this.txtOutputFolder.TextChanged += new System.EventHandler(this.txtOutputFolder_TextChanged);
     //
     // fileNameSchemeCtrl
     //
     this.fileNameSchemeCtrl.Extension = "";
     resources.ApplyResources(this.fileNameSchemeCtrl, "fileNameSchemeCtrl");
     this.fileNameSchemeCtrl.Name               = "fileNameSchemeCtrl";
     this.fileNameSchemeCtrl.Prefix             = "";
     this.fileNameSchemeCtrl.Scheme             = "";
     this.fileNameSchemeCtrl.Suffix             = "";
     this.fileNameSchemeCtrl.UserModifiedSuffix = false;
     //
     // lblOutputFolder
     //
     resources.ApplyResources(this.lblOutputFolder, "lblOutputFolder");
     this.lblOutputFolder.Name = "lblOutputFolder";
     //
     // btnFolderBrowse
     //
     resources.ApplyResources(this.btnFolderBrowse, "btnFolderBrowse");
     this.btnFolderBrowse.Name   = "btnFolderBrowse";
     this.btnFolderBrowse.Click += new System.EventHandler(this.btnFolderBrowse_Click);
     //
     // btnOk
     //
     resources.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.Name   = "btnOk";
     this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
     //
     // chkNotes
     //
     resources.ApplyResources(this.chkNotes, "chkNotes");
     this.chkNotes.Name = "chkNotes";
     this.chkNotes.UseVisualStyleBackColor = true;
     this.chkNotes.CheckedChanged         += new System.EventHandler(this.txtOutputFolder_TextChanged);
     //
     // chklbWritingSystems
     //
     resources.ApplyResources(this.chklbWritingSystems, "chklbWritingSystems");
     this.chklbWritingSystems.Name       = "chklbWritingSystems";
     this.chklbWritingSystems.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.chklbWritingSystems_ItemCheck);
     //
     // lblBooks
     //
     resources.ApplyResources(this.lblBooks, "lblBooks");
     this.lblBooks.Name = "lblBooks";
     //
     // grpExportWhat
     //
     resources.ApplyResources(this.grpExportWhat, "grpExportWhat");
     this.grpExportWhat.Controls.Add(this.pnlExportWhat);
     this.grpExportWhat.Controls.Add(this.chkNotes);
     this.grpExportWhat.Controls.Add(this.chklbWritingSystems);
     this.grpExportWhat.Controls.Add(this.btnMappings);
     this.grpExportWhat.Name    = "grpExportWhat";
     this.grpExportWhat.TabStop = false;
     //
     // pnlExportWhat
     //
     resources.ApplyResources(this.pnlExportWhat, "pnlExportWhat");
     this.pnlExportWhat.Name = "pnlExportWhat";
     //
     // toolTipInvalidChar
     //
     this.toolTipInvalidChar.Active         = false;
     this.toolTipInvalidChar.AutomaticDelay = 0;
     this.toolTipInvalidChar.AutoPopDelay   = 0;
     this.toolTipInvalidChar.InitialDelay   = 0;
     this.toolTipInvalidChar.IsBalloon      = true;
     this.toolTipInvalidChar.ReshowDelay    = 0;
     //
     // ExportUsfmDialog
     //
     this.AcceptButton = this.btnOk;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.btnCancel;
     this.Controls.Add(this.grpExportWhat);
     this.Controls.Add(this.grpOutputTo);
     this.Controls.Add(this.lblBooks);
     this.Controls.Add(this.m_btnHelp);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOk);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ExportUsfmDialog";
     this.ShowInTaskbar   = false;
     this.grpOutputTo.ResumeLayout(false);
     this.grpOutputTo.PerformLayout();
     this.grpExportWhat.ResumeLayout(false);
     this.grpExportWhat.PerformLayout();
     this.ResumeLayout(false);
 }