public FormError ValidateData() { if (Vrijednost.ToString() == "") { return(FormError.Prazno); } return(FormError.None); }
private void button1_Click(object sender, EventArgs e) { System.Threading.Thread.Sleep(10000); int Vrijednost; Int32.TryParse(cbxRunType.SelectedValue.ToString(), out Vrijednost); MessageBox.Show(Vrijednost.ToString()); }
public Cards(Vrsta v, Vrijednost vr) { this.v = v; this.vr = vr; }