示例#1
0
文件: Order.cs 项目: GaikovM/Auto
 private void ViewContextMenuItem_Click(object sender, EventArgs e)
 {
     var frmor = new OrderNewForm();
     frmor.SetProsmotr((int) radGridView1.SelectedRows[0].Cells[0].Value);
     frmor.ShowDialog();
 }
示例#2
0
文件: Order.cs 项目: GaikovM/Auto
 private void RadMenuItem1Click(object sender, EventArgs e)
 {
     var frmor = new OrderNewForm();
     frmor.ShowDialog();
     RefreshAll();
     this.db.ЗаказВид.Load();
     this.radGridView1.DataSource = this.db.ЗаказВид.Local.ToBindingList();
 }
示例#3
0
文件: Order.cs 项目: GaikovM/Auto
 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();
 }