Download GetTextMetricsDemo.zip, last updated 09/07/2016 (10.51 KB)

Download
  • md5: 5716cc483e334071b2334c8ae92e076f
  • sha1: 2c94d15164e3498d892843eaf8b78d77dd3ba8c7
  • sha256: 3bf039f038a478d5f31aca3e1ca634739e4343a84de89ab73ff6c2f33653f9c2
namespace GetTextMetricsDemo
{
  partial class MainForm
  {
    /// <summary>
    /// Required designer variable.
    /// </summary>
    private System.ComponentModel.IContainer components = null;

    /// <summary>
    /// Clean up any resources being used.
    /// </summary>
    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    protected override void Dispose(bool disposing)
    {
      if (disposing && (components != null))
      {
        components.Dispose();
      }
      base.Dispose(disposing);
    }

    #region Windows Form Designer generated code

    /// <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.GroupBox optionsGroupBox;
      System.Windows.Forms.Label fontLabel;
      System.Windows.Forms.Label previewTextLabel;
      System.Windows.Forms.GroupBox outputGroupBox;
      this.fontBrowseButton = new System.Windows.Forms.Button();
      this.fontTextBox = new System.Windows.Forms.TextBox();
      this.previewTextTextBox = new System.Windows.Forms.TextBox();
      this.previewPanel = new System.Windows.Forms.Panel();
      this.fontDialog = new Cyotek.Windows.Forms.FontDialog();
      optionsGroupBox = new System.Windows.Forms.GroupBox();
      fontLabel = new System.Windows.Forms.Label();
      previewTextLabel = new System.Windows.Forms.Label();
      outputGroupBox = new System.Windows.Forms.GroupBox();
      optionsGroupBox.SuspendLayout();
      outputGroupBox.SuspendLayout();
      this.SuspendLayout();
      // 
      // optionsGroupBox
      // 
      optionsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      optionsGroupBox.Controls.Add(this.fontBrowseButton);
      optionsGroupBox.Controls.Add(this.fontTextBox);
      optionsGroupBox.Controls.Add(fontLabel);
      optionsGroupBox.Controls.Add(this.previewTextTextBox);
      optionsGroupBox.Controls.Add(previewTextLabel);
      optionsGroupBox.Location = new System.Drawing.Point(12, 12);
      optionsGroupBox.Name = "optionsGroupBox";
      optionsGroupBox.Size = new System.Drawing.Size(757, 83);
      optionsGroupBox.TabIndex = 0;
      optionsGroupBox.TabStop = false;
      optionsGroupBox.Text = "Options";
      // 
      // fontBrowseButton
      // 
      this.fontBrowseButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      this.fontBrowseButton.Location = new System.Drawing.Point(676, 45);
      this.fontBrowseButton.Name = "fontBrowseButton";
      this.fontBrowseButton.Size = new System.Drawing.Size(75, 23);
      this.fontBrowseButton.TabIndex = 4;
      this.fontBrowseButton.Text = "&Browse...";
      this.fontBrowseButton.UseVisualStyleBackColor = true;
      this.fontBrowseButton.Click += new System.EventHandler(this.fontBrowseButton_Click);
      // 
      // fontTextBox
      // 
      this.fontTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      this.fontTextBox.Location = new System.Drawing.Point(84, 47);
      this.fontTextBox.Name = "fontTextBox";
      this.fontTextBox.ReadOnly = true;
      this.fontTextBox.Size = new System.Drawing.Size(586, 20);
      this.fontTextBox.TabIndex = 3;
      // 
      // fontLabel
      // 
      fontLabel.AutoSize = true;
      fontLabel.Location = new System.Drawing.Point(6, 50);
      fontLabel.Name = "fontLabel";
      fontLabel.Size = new System.Drawing.Size(31, 13);
      fontLabel.TabIndex = 2;
      fontLabel.Text = "&Font:";
      // 
      // previewTextTextBox
      // 
      this.previewTextTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      this.previewTextTextBox.Location = new System.Drawing.Point(84, 19);
      this.previewTextTextBox.Name = "previewTextTextBox";
      this.previewTextTextBox.Size = new System.Drawing.Size(667, 20);
      this.previewTextTextBox.TabIndex = 1;
      this.previewTextTextBox.Text = "Cyotek.com";
      this.previewTextTextBox.TextChanged += new System.EventHandler(this.previewTextTextBox_TextChanged);
      // 
      // previewTextLabel
      // 
      previewTextLabel.AutoSize = true;
      previewTextLabel.Location = new System.Drawing.Point(6, 22);
      previewTextLabel.Name = "previewTextLabel";
      previewTextLabel.Size = new System.Drawing.Size(72, 13);
      previewTextLabel.TabIndex = 0;
      previewTextLabel.Text = "&Preview Text:";
      // 
      // outputGroupBox
      // 
      outputGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      outputGroupBox.Controls.Add(this.previewPanel);
      outputGroupBox.Location = new System.Drawing.Point(12, 101);
      outputGroupBox.Name = "outputGroupBox";
      outputGroupBox.Size = new System.Drawing.Size(757, 281);
      outputGroupBox.TabIndex = 0;
      outputGroupBox.TabStop = false;
      outputGroupBox.Text = "Output";
      // 
      // previewPanel
      // 
      this.previewPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
      this.previewPanel.BackColor = System.Drawing.SystemColors.Window;
      this.previewPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
      this.previewPanel.ForeColor = System.Drawing.SystemColors.WindowText;
      this.previewPanel.Location = new System.Drawing.Point(6, 19);
      this.previewPanel.Name = "previewPanel";
      this.previewPanel.Size = new System.Drawing.Size(745, 256);
      this.previewPanel.TabIndex = 0;
      this.previewPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.previewPanel_Paint);
      this.previewPanel.Resize += new System.EventHandler(this.previewPanel_Resize);
      // 
      // fontDialog
      // 
      this.fontDialog.Font = new System.Drawing.Font("Times New Roman", 60F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
      // 
      // MainForm
      // 
      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
      this.ClientSize = new System.Drawing.Size(781, 394);
      this.Controls.Add(outputGroupBox);
      this.Controls.Add(optionsGroupBox);
      this.Name = "MainForm";
      this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
      this.Text = "www.cyotek.com GetTextMetrics Demo";
      optionsGroupBox.ResumeLayout(false);
      optionsGroupBox.PerformLayout();
      outputGroupBox.ResumeLayout(false);
      this.ResumeLayout(false);

    }

    #endregion

    private Cyotek.Windows.Forms.FontDialog fontDialog;
    private System.Windows.Forms.Button fontBrowseButton;
    private System.Windows.Forms.TextBox fontTextBox;
    private System.Windows.Forms.TextBox previewTextTextBox;
    private System.Windows.Forms.Panel previewPanel;
  }
}

Donate

Donate