Example #1
0
 private void ViewContextMenuItem_Click(object sender, EventArgs e)
 {
     var frmor = new OrderNewForm();
     frmor.SetProsmotr((int) radGridView1.SelectedRows[0].Cells[0].Value);
     frmor.ShowDialog();
 }
Example #2
0
 private void RadMenuItem1Click(object sender, EventArgs e)
 {
     var frmor = new OrderNewForm();
     frmor.ShowDialog();
     RefreshAll();
     this.db.ЗаказВид.Load();
     this.radGridView1.DataSource = this.db.ЗаказВид.Local.ToBindingList();
 }
Example #3
0
 private void RadMenuItem2Click(object sender, EventArgs e)
 {
     var frmor = new OrderNewForm();
     frmor.SetEdit((int) radGridView1.SelectedRows[0].Cells[0].Value);
     frmor.ShowDialog();
     RefreshAll();
     this.db.ЗаказВид.Load();
     this.radGridView1.DataSource = this.db.ЗаказВид.Local.ToBindingList();
 }