Пример #1
0
 public fAddOrder(fListOrder f, int userid)
 {
     InitializeComponent();
     lstpro      = axs.ShowProduct();
     this.userid = userid;
     this.f      = f;
 }
Пример #2
0
 public fEditSttOrder(fListOrder f, DataGridViewRow row)
 {
     InitializeComponent();
     txtten.Text     = row.Cells[1].Value.ToString();
     cbgioitinh.Text = row.Cells[2].Value.ToString();
     txtsdt.Text     = row.Cells[3].Value.ToString();
     txtaddress.Text = row.Cells[4].Value.ToString();
     txtemail.Text   = row.Cells[5].Value.ToString();
     txtnote.Text    = row.Cells[6].Value.ToString();
     //txtten.Text = row.Cells[7].Value.ToString();
     rdopayed.Checked = row.Cells[7].Value.Equals(1) ? true : false;
     txtsum.Text      = row.Cells[8].Value.ToString();
 }