Пофиксил изменение размеров DatePicker
This commit is contained in:
parent
ab42ded0da
commit
f08da93bb8
@ -35,20 +35,22 @@
|
|||||||
//
|
//
|
||||||
dateTimePicker.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
dateTimePicker.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
dateTimePicker.Format = DateTimePickerFormat.Short;
|
dateTimePicker.Format = DateTimePickerFormat.Short;
|
||||||
dateTimePicker.Location = new Point(15, 12);
|
dateTimePicker.Location = new Point(3, 4);
|
||||||
|
dateTimePicker.Margin = new Padding(3, 4, 3, 4);
|
||||||
dateTimePicker.Name = "dateTimePicker";
|
dateTimePicker.Name = "dateTimePicker";
|
||||||
dateTimePicker.Size = new Size(92, 23);
|
dateTimePicker.Size = new Size(120, 27);
|
||||||
dateTimePicker.TabIndex = 0;
|
dateTimePicker.TabIndex = 0;
|
||||||
dateTimePicker.ValueChanged += dateTimePicker_ValueChanged;
|
dateTimePicker.ValueChanged += dateTimePicker_ValueChanged;
|
||||||
//
|
//
|
||||||
// UserControlDatePicker
|
// UserControlDatePicker
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
BackColor = Color.Orange;
|
BackColor = Color.Orange;
|
||||||
Controls.Add(dateTimePicker);
|
Controls.Add(dateTimePicker);
|
||||||
|
Margin = new Padding(3, 4, 3, 4);
|
||||||
Name = "UserControlDatePicker";
|
Name = "UserControlDatePicker";
|
||||||
Size = new Size(121, 50);
|
Size = new Size(126, 36);
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user