1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
public void Journal_Load(object sender, EventArgs e)
{
int j = 131;
while (i > 0)
{
Point Position = new Point(250, j);
Mask = new MaskedTextBox();
Mask.Location = Position;
Mask.Mask = "00000.00";
string NomMask = "MaskTextBox" + y.ToString();
Mask.Name = NomMask;
Mask.Font = new System.Drawing.Font("Calibri", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
Mask.Size = new Size(221, 30);
Mask.TabIndex = 106;
Mask.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
Controls.Add(Mask);
i--;
y++;
j += 50;
}
} |