-
Notifications
You must be signed in to change notification settings - Fork 186
/
DataGridViewHeadersScaling.Designer.cs
118 lines (113 loc) · 5.13 KB
/
DataGridViewHeadersScaling.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
namespace HighDpiDemo
{
partial class DataGridViewHeadersScaling
{
/// <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()
{
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.currentDpiLabel = new System.Windows.Forms.Label();
this.infoLabel = new System.Windows.Forms.Label();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewButtonColumn();
this.Column3 = new System.Windows.Forms.DataGridViewComboBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3});
this.dataGridView1.Location = new System.Drawing.Point(-1, 1);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.Size = new System.Drawing.Size(368, 119);
this.dataGridView1.TabIndex = 2;
//
// currentDpiLabel
//
this.currentDpiLabel.AutoSize = true;
this.currentDpiLabel.Location = new System.Drawing.Point(12, 132);
this.currentDpiLabel.Name = "currentDpiLabel";
this.currentDpiLabel.Size = new System.Drawing.Size(62, 13);
this.currentDpiLabel.TabIndex = 3;
this.currentDpiLabel.Text = "Current DPI";
//
// infoLabel
//
this.infoLabel.AutoSize = true;
this.infoLabel.Location = new System.Drawing.Point(12, 161);
this.infoLabel.Name = "infoLabel";
this.infoLabel.Size = new System.Drawing.Size(259, 13);
this.infoLabel.TabIndex = 4;
this.infoLabel.Text = "Row headers are resized automatillacy to show icons.";
//
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
this.Column1.HeaderText = "Column1";
this.Column1.Name = "Column1";
this.Column1.Width = 73;
//
// Column2
//
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
this.Column2.HeaderText = "Column2";
this.Column2.Name = "Column2";
this.Column2.Width = 54;
//
// Column3
//
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
this.Column3.HeaderText = "Column3";
this.Column3.Name = "Column3";
this.Column3.Width = 54;
//
// DataGridViewHeadersScaling
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(368, 183);
this.Controls.Add(this.infoLabel);
this.Controls.Add(this.currentDpiLabel);
this.Controls.Add(this.dataGridView1);
this.Margin = new System.Windows.Forms.Padding(2);
this.Name = "DataGridViewHeadersScaling";
this.Text = "DataGridView headers";
this.Load += new System.EventHandler(this.DataGridViewHeadersScaling_Load);
this.DpiChanged += new System.Windows.Forms.DpiChangedEventHandler(this.DataGridViewHeadersScaling_DpiChanged);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.Label currentDpiLabel;
private System.Windows.Forms.Label infoLabel;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewButtonColumn Column2;
private System.Windows.Forms.DataGridViewComboBoxColumn Column3;
}
}