Ejemplo n.º 1
0
 public void LoadTrade(PZTrade t)
 {
     selling           = t.selling;
     buying            = t.buying;
     textBox2.Text     = t.fbuying;
     textBox1.Text     = t.fselling;
     textBox3.Text     = t.fname;
     textBox4.Text     = t.name;
     checkBox1.Checked = t.includename;
     textBox5.Text     = t.GetMessage();
 }
Ejemplo n.º 2
0
 public void Upd()
 {
     UpdtListboxes();
     trade             = new PZTrade();
     trade.selling     = selling;
     trade.buying      = buying;
     trade.fbuying     = textBox2.Text;
     trade.fselling    = textBox1.Text;
     trade.fname       = textBox3.Text;
     trade.includename = checkBox1.Checked;
     trade.name        = textBox4.Text;
     textBox5.Text     = trade.GetMessage();
 }