コード例 #1
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(FwChooserDlg));
     this.tvPossibilities = new SIL.FieldWorks.Common.Controls.ChooserTreeView();
     this.btnOk           = new System.Windows.Forms.Button();
     this.btnCancel       = new System.Windows.Forms.Button();
     this.btnHelp         = new System.Windows.Forms.Button();
     this.m_persistence   = new SIL.FieldWorks.Common.Controls.Persistence(this.components);
     this.lblInfo         = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.m_persistence)).BeginInit();
     this.SuspendLayout();
     //
     // tvPossibilities
     //
     resources.ApplyResources(this.tvPossibilities, "tvPossibilities");
     this.tvPossibilities.ItemHeight = 16;
     this.tvPossibilities.Name       = "tvPossibilities";
     //
     // btnOk
     //
     resources.ApplyResources(this.btnOk, "btnOk");
     this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOk.Name         = "btnOk";
     //
     // btnCancel
     //
     resources.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Name         = "btnCancel";
     //
     // btnHelp
     //
     resources.ApplyResources(this.btnHelp, "btnHelp");
     this.btnHelp.Name   = "btnHelp";
     this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
     //
     // m_persistence
     //
     this.m_persistence.Parent        = this;
     this.m_persistence.SaveSettings += new SIL.FieldWorks.Common.Controls.Persistence.Settings(this.m_persistence_SaveSettings);
     this.m_persistence.LoadSettings += new SIL.FieldWorks.Common.Controls.Persistence.Settings(this.m_persistence_LoadSettings);
     //
     // lblInfo
     //
     resources.ApplyResources(this.lblInfo, "lblInfo");
     this.lblInfo.AutoEllipsis = true;
     this.lblInfo.BackColor    = System.Drawing.Color.Transparent;
     this.lblInfo.Name         = "lblInfo";
     //
     // FwChooserDlg
     //
     this.AcceptButton = this.btnOk;
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton  = this.btnCancel;
     this.Controls.Add(this.lblInfo);
     this.Controls.Add(this.btnHelp);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnOk);
     this.Controls.Add(this.tvPossibilities);
     this.DoubleBuffered = true;
     this.MaximizeBox    = false;
     this.MinimizeBox    = false;
     this.Name           = "FwChooserDlg";
     this.ShowIcon       = false;
     this.ShowInTaskbar  = false;
     ((System.ComponentModel.ISupportInitialize)(this.m_persistence)).EndInit();
     this.ResumeLayout(false);
 }