/// <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(); SuperToolTipInfoWrapper superToolTipInfoWrapper1 = new SuperToolTipInfoWrapper(); SuperToolTipInfo superToolTipInfo1 = new SuperToolTipInfo(); SuperToolTipInfoWrapper superToolTipInfoWrapper2 = new SuperToolTipInfoWrapper(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.superToolTip1 = new Windows.Forms.SuperToolTip.SuperToolTip(this.components); this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // richTextBox1 // this.richTextBox1.Location = new System.Drawing.Point(21, 12); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(235, 167); superToolTipInfo1.BackgroundGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); superToolTipInfo1.BackgroundGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(202)))), ((int)(((byte)(218)))), ((int)(((byte)(239))))); superToolTipInfo1.BackgroundGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(246)))), ((int)(((byte)(251))))); superToolTipInfo1.BodyFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); superToolTipInfo1.BodyText = "hello\r\nalsdkjfsaldjk\r\nasdlfjasl\r\n\r\nsalkdjflk\r\n"; superToolTipInfo1.HeaderFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold); superToolTipInfo1.HeaderText = "Test"; superToolTipInfo1.OffsetForWhereToDisplay = new System.Drawing.Point(0, 0); superToolTipInfoWrapper1.SuperToolTipInfo = superToolTipInfo1; superToolTipInfoWrapper1.UseSuperToolTip = true; this.superToolTip1.SetSuperStuff(this.richTextBox1, superToolTipInfoWrapper1); this.richTextBox1.TabIndex = 0; this.richTextBox1.Text = "one\n\n\ntwo\n\n\nthree\n\n\nfour"; this.richTextBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.richTextBox1_MouseMove); // // button1 // this.button1.Location = new System.Drawing.Point(146, 198); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); superToolTipInfoWrapper2.SuperToolTipInfo = null; this.superToolTip1.SetSuperStuff(this.button1, superToolTipInfoWrapper2); this.button1.TabIndex = 1; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // SuperToolTipTestForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 266); this.Controls.Add(this.button1); this.Controls.Add(this.richTextBox1); this.Name = "SuperToolTipTestForm"; this.Text = "SuperToolTipTestForm"; this.ResumeLayout(false); }
public SuperToolTipWindowData() { InitializeComponent(); _superToolTipInfo = new SuperToolTipInfo(); }
/// <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(); SIL.Windows.Forms.SuperToolTip.SuperToolTipInfoWrapper superToolTipInfoWrapper2 = new SIL.Windows.Forms.SuperToolTip.SuperToolTipInfoWrapper(); SIL.Windows.Forms.SuperToolTip.SuperToolTipInfo superToolTipInfo2 = new SIL.Windows.Forms.SuperToolTip.SuperToolTipInfo(); this.btnFolderBrowserControl = new System.Windows.Forms.Button(); this.btnLookupISOCodeDialog = new System.Windows.Forms.Button(); this.btnWritingSystemSetupDialog = new System.Windows.Forms.Button(); this.btnImageToolbox = new System.Windows.Forms.Button(); this.btnSilAboutBox = new System.Windows.Forms.Button(); this.btnShowReleaseNotes = new System.Windows.Forms.Button(); this.superToolTip1 = new SIL.Windows.Forms.SuperToolTip.SuperToolTip(this.components); this.label1 = new System.Windows.Forms.Label(); this.btnMetaDataEditor = new System.Windows.Forms.Button(); this.btnSelectFile = new System.Windows.Forms.Button(); this._silAboutBoxGecko = new System.Windows.Forms.Button(); this.btnSettingProtectionDialog = new System.Windows.Forms.Button(); this.btnFlexibleMessageBox = new System.Windows.Forms.Button(); this.recordPlayButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // // btnFolderBrowserControl // this.btnFolderBrowserControl.Location = new System.Drawing.Point(12, 12); this.btnFolderBrowserControl.Name = "btnFolderBrowserControl"; this.btnFolderBrowserControl.Size = new System.Drawing.Size(157, 23); this.btnFolderBrowserControl.TabIndex = 0; this.btnFolderBrowserControl.Text = "FolderBrowserControl"; this.btnFolderBrowserControl.UseVisualStyleBackColor = true; this.btnFolderBrowserControl.Click += new System.EventHandler(this.OnFolderBrowserControlClicked); // // btnLookupISOCodeDialog // this.btnLookupISOCodeDialog.Location = new System.Drawing.Point(12, 41); this.btnLookupISOCodeDialog.Name = "btnLookupISOCodeDialog"; this.btnLookupISOCodeDialog.Size = new System.Drawing.Size(157, 23); this.btnLookupISOCodeDialog.TabIndex = 0; this.btnLookupISOCodeDialog.Text = "LanguageLookupDialog"; this.btnLookupISOCodeDialog.UseVisualStyleBackColor = true; this.btnLookupISOCodeDialog.Click += new System.EventHandler(this.OnLanguageLookupDialogClicked); // // btnWritingSystemSetupDialog // this.btnWritingSystemSetupDialog.Location = new System.Drawing.Point(12, 70); this.btnWritingSystemSetupDialog.Name = "btnWritingSystemSetupDialog"; this.btnWritingSystemSetupDialog.Size = new System.Drawing.Size(157, 23); this.btnWritingSystemSetupDialog.TabIndex = 0; this.btnWritingSystemSetupDialog.Text = "WritingSystemSetupDialog"; this.btnWritingSystemSetupDialog.UseVisualStyleBackColor = true; this.btnWritingSystemSetupDialog.Click += new System.EventHandler(this.OnWritingSystemSetupDialogClicked); // // btnImageToolbox // this.btnImageToolbox.Location = new System.Drawing.Point(12, 99); this.btnImageToolbox.Name = "btnImageToolbox"; this.btnImageToolbox.Size = new System.Drawing.Size(157, 23); this.btnImageToolbox.TabIndex = 0; this.btnImageToolbox.Text = "Image Toolbox"; this.btnImageToolbox.UseVisualStyleBackColor = true; this.btnImageToolbox.Click += new System.EventHandler(this.OnImageToolboxClicked); // // btnSilAboutBox // this.btnSilAboutBox.Location = new System.Drawing.Point(12, 128); this.btnSilAboutBox.Name = "btnSilAboutBox"; this.btnSilAboutBox.Size = new System.Drawing.Size(157, 23); this.btnSilAboutBox.TabIndex = 0; this.btnSilAboutBox.Text = "SIL AboutBox"; this.btnSilAboutBox.UseVisualStyleBackColor = true; this.btnSilAboutBox.Click += new System.EventHandler(this.OnSilAboutBoxClicked); // // btnShowReleaseNotes // this.btnShowReleaseNotes.Location = new System.Drawing.Point(12, 185); this.btnShowReleaseNotes.Name = "btnShowReleaseNotes"; this.btnShowReleaseNotes.Size = new System.Drawing.Size(157, 23); this.btnShowReleaseNotes.TabIndex = 0; this.btnShowReleaseNotes.Text = "Show Release Notes"; this.btnShowReleaseNotes.UseVisualStyleBackColor = true; this.btnShowReleaseNotes.Click += new System.EventHandler(this.OnShowReleaseNotesClicked); // // superToolTip1 // this.superToolTip1.FadingInterval = 10; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 367); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(149, 13); superToolTipInfo2.BackgroundGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); superToolTipInfo2.BackgroundGradientEnd = System.Drawing.Color.Blue; superToolTipInfo2.BackgroundGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(246)))), ((int)(((byte)(251))))); superToolTipInfo2.BodyText = "This is the body text"; superToolTipInfo2.FooterForeColor = System.Drawing.Color.Lime; superToolTipInfo2.FooterText = "And this is the footer"; superToolTipInfo2.HeaderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); superToolTipInfo2.HeaderText = "The header can serve as a title"; superToolTipInfo2.OffsetForWhereToDisplay = new System.Drawing.Point(0, 0); superToolTipInfo2.ShowFooter = true; superToolTipInfo2.ShowFooterSeparator = true; superToolTipInfoWrapper2.SuperToolTipInfo = superToolTipInfo2; superToolTipInfoWrapper2.UseSuperToolTip = true; this.superToolTip1.SetSuperStuff(this.label1, superToolTipInfoWrapper2); this.label1.TabIndex = 1; this.label1.Text = "Hover over me to see a tooltip"; // // btnMetaDataEditor // this.btnMetaDataEditor.Location = new System.Drawing.Point(12, 214); this.btnMetaDataEditor.Name = "btnMetaDataEditor"; this.btnMetaDataEditor.Size = new System.Drawing.Size(157, 23); this.btnMetaDataEditor.TabIndex = 0; this.btnMetaDataEditor.Text = "Meta Data Editor"; this.btnMetaDataEditor.UseVisualStyleBackColor = true; this.btnMetaDataEditor.Click += new System.EventHandler(this.OnShowMetaDataEditorClicked); // // btnSelectFile // this.btnSelectFile.Location = new System.Drawing.Point(12, 243); this.btnSelectFile.Name = "btnSelectFile"; this.btnSelectFile.Size = new System.Drawing.Size(157, 23); this.btnSelectFile.TabIndex = 0; this.btnSelectFile.Text = "Select File"; this.btnSelectFile.UseVisualStyleBackColor = true; this.btnSelectFile.Click += new System.EventHandler(this.OnSelectFileClicked); // // _silAboutBoxGecko // this._silAboutBoxGecko.Location = new System.Drawing.Point(12, 157); this._silAboutBoxGecko.Name = "_silAboutBoxGecko"; this._silAboutBoxGecko.Size = new System.Drawing.Size(157, 23); this._silAboutBoxGecko.TabIndex = 2; this._silAboutBoxGecko.Text = "SIL AboutBox (Gecko)"; this._silAboutBoxGecko.UseVisualStyleBackColor = true; this._silAboutBoxGecko.Click += new System.EventHandler(this.OnSilAboutBoxGeckoClicked); // // btnSettingProtectionDialog // this.btnSettingProtectionDialog.Location = new System.Drawing.Point(12, 272); this.btnSettingProtectionDialog.Name = "btnSettingProtectionDialog"; this.btnSettingProtectionDialog.Size = new System.Drawing.Size(157, 23); this.btnSettingProtectionDialog.TabIndex = 3; this.btnSettingProtectionDialog.Text = "SettingProtectionDialog"; this.btnSettingProtectionDialog.UseVisualStyleBackColor = true; this.btnSettingProtectionDialog.Click += new System.EventHandler(this.btnSettingProtectionDialog_Click); // // btnFlexibleMessageBox // this.btnFlexibleMessageBox.Location = new System.Drawing.Point(12, 302); this.btnFlexibleMessageBox.Name = "btnFlexibleMessageBox"; this.btnFlexibleMessageBox.Size = new System.Drawing.Size(157, 23); this.btnFlexibleMessageBox.TabIndex = 4; this.btnFlexibleMessageBox.Text = "Flexible Message Box"; this.btnFlexibleMessageBox.UseVisualStyleBackColor = true; this.btnFlexibleMessageBox.Click += new System.EventHandler(this.btnFlexibleMessageBox_Click); // // recordPlayButton // this.recordPlayButton.Location = new System.Drawing.Point(12, 331); this.recordPlayButton.Name = "recordPlayButton"; this.recordPlayButton.Size = new System.Drawing.Size(157, 23); this.recordPlayButton.TabIndex = 5; this.recordPlayButton.Text = "Record and play back sound"; this.recordPlayButton.UseVisualStyleBackColor = true; this.recordPlayButton.MouseDown += new System.Windows.Forms.MouseEventHandler(this.recordPlayButton_MouseDown); this.recordPlayButton.MouseUp += new System.Windows.Forms.MouseEventHandler(this.recordPlayButton_MouseUp); // // TestAppForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(187, 395); this.Controls.Add(this.recordPlayButton); this.Controls.Add(this.btnFlexibleMessageBox); this.Controls.Add(this.btnSettingProtectionDialog); this.Controls.Add(this._silAboutBoxGecko); this.Controls.Add(this.label1); this.Controls.Add(this.btnSelectFile); this.Controls.Add(this.btnMetaDataEditor); this.Controls.Add(this.btnShowReleaseNotes); this.Controls.Add(this.btnSilAboutBox); this.Controls.Add(this.btnImageToolbox); this.Controls.Add(this.btnWritingSystemSetupDialog); this.Controls.Add(this.btnLookupISOCodeDialog); this.Controls.Add(this.btnFolderBrowserControl); this.Name = "TestAppForm"; this.Text = "SIL.Windows.Forms.TestApp"; 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.components = new System.ComponentModel.Container(); SIL.Windows.Forms.SuperToolTip.SuperToolTipInfoWrapper superToolTipInfoWrapper1 = new SIL.Windows.Forms.SuperToolTip.SuperToolTipInfoWrapper(); SIL.Windows.Forms.SuperToolTip.SuperToolTipInfo superToolTipInfo1 = new SIL.Windows.Forms.SuperToolTip.SuperToolTipInfo(); this.btnFolderBrowserControl = new System.Windows.Forms.Button(); this.btnLookupISOCodeDialog = new System.Windows.Forms.Button(); this.btnWritingSystemSetupDialog = new System.Windows.Forms.Button(); this.btnImageToolbox = new System.Windows.Forms.Button(); this.btnSilAboutBox = new System.Windows.Forms.Button(); this.btnShowReleaseNotes = new System.Windows.Forms.Button(); this.superToolTip1 = new SIL.Windows.Forms.SuperToolTip.SuperToolTip(this.components); this.label1 = new System.Windows.Forms.Label(); this.btnMetaDataEditor = new System.Windows.Forms.Button(); this.btnSelectFile = new System.Windows.Forms.Button(); this._silAboutBoxGecko = new System.Windows.Forms.Button(); this.btnSettingProtectionDialog = new System.Windows.Forms.Button(); this.SuspendLayout(); // // btnFolderBrowserControl // this.btnFolderBrowserControl.Location = new System.Drawing.Point(12, 12); this.btnFolderBrowserControl.Name = "btnFolderBrowserControl"; this.btnFolderBrowserControl.Size = new System.Drawing.Size(157, 23); this.btnFolderBrowserControl.TabIndex = 0; this.btnFolderBrowserControl.Text = "FolderBrowserControl"; this.btnFolderBrowserControl.UseVisualStyleBackColor = true; this.btnFolderBrowserControl.Click += new System.EventHandler(this.OnFolderBrowserControlClicked); // // btnLookupISOCodeDialog // this.btnLookupISOCodeDialog.Location = new System.Drawing.Point(12, 41); this.btnLookupISOCodeDialog.Name = "btnLookupISOCodeDialog"; this.btnLookupISOCodeDialog.Size = new System.Drawing.Size(157, 23); this.btnLookupISOCodeDialog.TabIndex = 0; this.btnLookupISOCodeDialog.Text = "LanguageLookupDialog"; this.btnLookupISOCodeDialog.UseVisualStyleBackColor = true; this.btnLookupISOCodeDialog.Click += new System.EventHandler(this.OnLanguageLookupDialogClicked); // // btnWritingSystemSetupDialog // this.btnWritingSystemSetupDialog.Location = new System.Drawing.Point(12, 70); this.btnWritingSystemSetupDialog.Name = "btnWritingSystemSetupDialog"; this.btnWritingSystemSetupDialog.Size = new System.Drawing.Size(157, 23); this.btnWritingSystemSetupDialog.TabIndex = 0; this.btnWritingSystemSetupDialog.Text = "WritingSystemSetupDialog"; this.btnWritingSystemSetupDialog.UseVisualStyleBackColor = true; this.btnWritingSystemSetupDialog.Click += new System.EventHandler(this.OnWritingSystemSetupDialogClicked); // // btnImageToolbox // this.btnImageToolbox.Location = new System.Drawing.Point(12, 99); this.btnImageToolbox.Name = "btnImageToolbox"; this.btnImageToolbox.Size = new System.Drawing.Size(157, 23); this.btnImageToolbox.TabIndex = 0; this.btnImageToolbox.Text = "Image Toolbox"; this.btnImageToolbox.UseVisualStyleBackColor = true; this.btnImageToolbox.Click += new System.EventHandler(this.OnImageToolboxClicked); // // btnSilAboutBox // this.btnSilAboutBox.Location = new System.Drawing.Point(12, 128); this.btnSilAboutBox.Name = "btnSilAboutBox"; this.btnSilAboutBox.Size = new System.Drawing.Size(157, 23); this.btnSilAboutBox.TabIndex = 0; this.btnSilAboutBox.Text = "SIL AboutBox"; this.btnSilAboutBox.UseVisualStyleBackColor = true; this.btnSilAboutBox.Click += new System.EventHandler(this.OnSilAboutBoxClicked); // // btnShowReleaseNotes // this.btnShowReleaseNotes.Location = new System.Drawing.Point(12, 185); this.btnShowReleaseNotes.Name = "btnShowReleaseNotes"; this.btnShowReleaseNotes.Size = new System.Drawing.Size(157, 23); this.btnShowReleaseNotes.TabIndex = 0; this.btnShowReleaseNotes.Text = "Show Release Notes"; this.btnShowReleaseNotes.UseVisualStyleBackColor = true; this.btnShowReleaseNotes.Click += new System.EventHandler(this.OnShowReleaseNotesClicked); // // superToolTip1 // this.superToolTip1.FadingInterval = 10; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 298); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(149, 13); superToolTipInfo1.BackgroundGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); superToolTipInfo1.BackgroundGradientEnd = System.Drawing.Color.Blue; superToolTipInfo1.BackgroundGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(246)))), ((int)(((byte)(251))))); superToolTipInfo1.BodyText = "This is the body text"; superToolTipInfo1.FooterForeColor = System.Drawing.Color.Lime; superToolTipInfo1.FooterText = "And this is the footer"; superToolTipInfo1.HeaderForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); superToolTipInfo1.HeaderText = "The header can serve as a title"; superToolTipInfo1.OffsetForWhereToDisplay = new System.Drawing.Point(0, 0); superToolTipInfo1.ShowFooter = true; superToolTipInfo1.ShowFooterSeparator = true; superToolTipInfoWrapper1.SuperToolTipInfo = superToolTipInfo1; superToolTipInfoWrapper1.UseSuperToolTip = true; this.superToolTip1.SetSuperStuff(this.label1, superToolTipInfoWrapper1); this.label1.TabIndex = 1; this.label1.Text = "Hover over me to see a tooltip"; // // btnMetaDataEditor // this.btnMetaDataEditor.Location = new System.Drawing.Point(12, 214); this.btnMetaDataEditor.Name = "btnMetaDataEditor"; this.btnMetaDataEditor.Size = new System.Drawing.Size(157, 23); this.btnMetaDataEditor.TabIndex = 0; this.btnMetaDataEditor.Text = "Meta Data Editor"; this.btnMetaDataEditor.UseVisualStyleBackColor = true; this.btnMetaDataEditor.Click += new System.EventHandler(this.OnShowMetaDataEditorClicked); // // btnSelectFile // this.btnSelectFile.Location = new System.Drawing.Point(12, 243); this.btnSelectFile.Name = "btnSelectFile"; this.btnSelectFile.Size = new System.Drawing.Size(157, 23); this.btnSelectFile.TabIndex = 0; this.btnSelectFile.Text = "Select File"; this.btnSelectFile.UseVisualStyleBackColor = true; this.btnSelectFile.Click += new System.EventHandler(this.OnSelectFileClicked); // // _silAboutBoxGecko // this._silAboutBoxGecko.Location = new System.Drawing.Point(12, 157); this._silAboutBoxGecko.Name = "_silAboutBoxGecko"; this._silAboutBoxGecko.Size = new System.Drawing.Size(157, 23); this._silAboutBoxGecko.TabIndex = 2; this._silAboutBoxGecko.Text = "SIL AboutBox (Gecko)"; this._silAboutBoxGecko.UseVisualStyleBackColor = true; this._silAboutBoxGecko.Click += new System.EventHandler(this.OnSilAboutBoxGeckoClicked); // // btnSettingProtectionDialog // this.btnSettingProtectionDialog.Location = new System.Drawing.Point(12, 272); this.btnSettingProtectionDialog.Name = "btnSettingProtectionDialog"; this.btnSettingProtectionDialog.Size = new System.Drawing.Size(157, 23); this.btnSettingProtectionDialog.TabIndex = 3; this.btnSettingProtectionDialog.Text = "SettingProtectionDialog"; this.btnSettingProtectionDialog.UseVisualStyleBackColor = true; this.btnSettingProtectionDialog.Click += new System.EventHandler(this.btnSettingProtectionDialog_Click); // // TestAppForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(187, 326); this.Controls.Add(this.btnSettingProtectionDialog); this.Controls.Add(this._silAboutBoxGecko); this.Controls.Add(this.label1); this.Controls.Add(this.btnSelectFile); this.Controls.Add(this.btnMetaDataEditor); this.Controls.Add(this.btnShowReleaseNotes); this.Controls.Add(this.btnSilAboutBox); this.Controls.Add(this.btnImageToolbox); this.Controls.Add(this.btnWritingSystemSetupDialog); this.Controls.Add(this.btnLookupISOCodeDialog); this.Controls.Add(this.btnFolderBrowserControl); this.Name = "TestAppForm"; this.Text = "SIL.Windows.Forms.TestApp"; this.ResumeLayout(false); this.PerformLayout(); }