Well, my goal is to print the photo, and every time this value increases from 1 I will switch to this, I'm using a class as the operator for the main code below. Part is my problem, it never works.
class (1) using System.Text; System usage threading. Task; Using System.Drawing; // For At Kuna Lagra Image Namespace Cortlecanagejan {Class Court {// Datmeldlemre Public Int Safra; Public image builder; // Constructor public cort (int nr, image card) {this.siffra = nr; This.bild = card; }}} Using the system; Using System.Collections.Generic; Using System.ComponentModel; Using System.Data; Using System.Drawing; Using System.Linq; Using System.Text; System usage threading. Task; Using System.Windows.Forms; Namespace Cortlechenejen {For public partial category, Form 1: Form {// Skepar 2 should have more information for two months later. Cartes old; Corta N.A.; // Skopar 1 Vittor Som Ska Lagra 13 Carbajet (1 bar) Cort [] Cortalak = New Cort [13]; Random decline = new random (); // Skepar slump for at slumplat plates and vegetarian intr Platts = 0; Public Form 1 () {Initialization (); // Over time to complete your photos, 0 and Vicart Karlac [1] = new cort (1, image.frame file ("Builder / H1 page")); } Private Zero btnDraKort_Click (Object Sender, EventArgs e) {for (int i = 0, j = 1; i & lt; = 13; i ++, j ++) kortlek [i] = new cort (j, Image. FromFile ("Builder / H" + I + ".png")); // Genira changes the reasons for inclination and variation (if RBNHog is checked == true) {pbxNy.Image = ????????? } If (rbnLagre.Checked == true) {} / / / I do not say it in any way right and ask about me // with the old // inquire about my old friend. }}}}
You should be able to use it to get it :
pbxNy.Image = (image) kortlek [i] .bild has now been updated with the correct property name.
No comments:
Post a Comment