コード例 #1
0
 public void EditData(Form1.ReceiptStruct edit)
 {
     t2Type.Value = edit.type;
     t2Name.Text  = edit.name;
     this.Text    = "Editar receta";
 }
コード例 #2
0
 public Form2(Form1.ReceiptStruct edit, int state)
 {
     InitializeComponent();
     InitializeDataEntry(state);
     EditData(edit);
 }