Dice icons on dices

This commit is contained in:
2022-07-04 22:32:38 +02:00
parent bc60d4576d
commit 30ff5589aa
2 changed files with 132 additions and 6 deletions

View File

@ -28,11 +28,14 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPersonRound));
this.label1 = new System.Windows.Forms.Label();
this.btnThrow = new System.Windows.Forms.Button();
this.btnDiceTmpl1 = new System.Windows.Forms.Button();
this.btnDiceTmpl2 = new System.Windows.Forms.Button();
this.btnDiceTmpl4 = new System.Windows.Forms.Button();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.btnDiceTmpl3 = new System.Windows.Forms.Button();
this.btnDiceTmpl6 = new System.Windows.Forms.Button();
this.btnDiceTmpl5 = new System.Windows.Forms.Button();
@ -66,66 +69,84 @@
//
// btnDiceTmpl1
//
this.btnDiceTmpl1.ImageKey = "dice1.ico";
this.btnDiceTmpl1.ImageList = this.imageList1;
this.btnDiceTmpl1.Location = new System.Drawing.Point(746, 82);
this.btnDiceTmpl1.Name = "btnDiceTmpl1";
this.btnDiceTmpl1.Size = new System.Drawing.Size(42, 44);
this.btnDiceTmpl1.TabIndex = 2;
this.btnDiceTmpl1.Text = "1";
this.btnDiceTmpl1.UseVisualStyleBackColor = true;
this.btnDiceTmpl1.Visible = false;
this.btnDiceTmpl1.Click += new System.EventHandler(this.btnDiceTmpl_Click);
//
// btnDiceTmpl2
//
this.btnDiceTmpl2.ImageKey = "dice2.ico";
this.btnDiceTmpl2.ImageList = this.imageList1;
this.btnDiceTmpl2.Location = new System.Drawing.Point(746, 126);
this.btnDiceTmpl2.Name = "btnDiceTmpl2";
this.btnDiceTmpl2.Size = new System.Drawing.Size(42, 44);
this.btnDiceTmpl2.TabIndex = 3;
this.btnDiceTmpl2.Text = "2";
this.btnDiceTmpl2.UseVisualStyleBackColor = true;
this.btnDiceTmpl2.Visible = false;
this.btnDiceTmpl2.Click += new System.EventHandler(this.btnDiceTmpl_Click);
//
// btnDiceTmpl4
//
this.btnDiceTmpl4.ImageKey = "dice4.ico";
this.btnDiceTmpl4.ImageList = this.imageList1;
this.btnDiceTmpl4.Location = new System.Drawing.Point(746, 214);
this.btnDiceTmpl4.Name = "btnDiceTmpl4";
this.btnDiceTmpl4.Size = new System.Drawing.Size(42, 44);
this.btnDiceTmpl4.TabIndex = 5;
this.btnDiceTmpl4.Text = "4";
this.btnDiceTmpl4.UseVisualStyleBackColor = true;
this.btnDiceTmpl4.Visible = false;
this.btnDiceTmpl4.Click += new System.EventHandler(this.btnDiceTmpl_Click);
//
// imageList1
//
this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "dice1.ico");
this.imageList1.Images.SetKeyName(1, "dice2.ico");
this.imageList1.Images.SetKeyName(2, "dice3.ico");
this.imageList1.Images.SetKeyName(3, "dice4.ico");
this.imageList1.Images.SetKeyName(4, "dice5.ico");
this.imageList1.Images.SetKeyName(5, "dice6.ico");
//
// btnDiceTmpl3
//
this.btnDiceTmpl3.ImageKey = "dice3.ico";
this.btnDiceTmpl3.ImageList = this.imageList1;
this.btnDiceTmpl3.Location = new System.Drawing.Point(746, 170);
this.btnDiceTmpl3.Name = "btnDiceTmpl3";
this.btnDiceTmpl3.Size = new System.Drawing.Size(42, 44);
this.btnDiceTmpl3.TabIndex = 4;
this.btnDiceTmpl3.Text = "3";
this.btnDiceTmpl3.UseVisualStyleBackColor = true;
this.btnDiceTmpl3.Visible = false;
this.btnDiceTmpl3.Click += new System.EventHandler(this.btnDiceTmpl_Click);
//
// btnDiceTmpl6
//
this.btnDiceTmpl6.ImageKey = "dice6.ico";
this.btnDiceTmpl6.ImageList = this.imageList1;
this.btnDiceTmpl6.Location = new System.Drawing.Point(746, 302);
this.btnDiceTmpl6.Name = "btnDiceTmpl6";
this.btnDiceTmpl6.Size = new System.Drawing.Size(42, 44);
this.btnDiceTmpl6.TabIndex = 7;
this.btnDiceTmpl6.Text = "6";
this.btnDiceTmpl6.UseVisualStyleBackColor = true;
this.btnDiceTmpl6.Visible = false;
this.btnDiceTmpl6.Click += new System.EventHandler(this.btnDiceTmpl_Click);
//
// btnDiceTmpl5
//
this.btnDiceTmpl5.ImageKey = "dice5.ico";
this.btnDiceTmpl5.ImageList = this.imageList1;
this.btnDiceTmpl5.Location = new System.Drawing.Point(746, 258);
this.btnDiceTmpl5.Name = "btnDiceTmpl5";
this.btnDiceTmpl5.Size = new System.Drawing.Size(42, 44);
this.btnDiceTmpl5.TabIndex = 6;
this.btnDiceTmpl5.Text = "5";
this.btnDiceTmpl5.UseVisualStyleBackColor = true;
this.btnDiceTmpl5.Visible = false;
this.btnDiceTmpl5.Click += new System.EventHandler(this.btnDiceTmpl_Click);
@ -229,5 +250,6 @@
private TextBox txtTotalPoints;
private Label lblRecentPoints;
private Button btnCollect;
private ImageList imageList1;
}
}