Пример #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (listView1.SelectedItems.Count > 0)
     {
         var i = listView1.SelectedItems[0].Index;
         var frm = new CreateOrder(Setting.Orders[i], i);
         frm.ShowDialog();
         RefrashOrderList();
     }
 }
Пример #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     var frm = new CreateOrder();
     frm.ShowDialog();
     RefrashOrderList();
 }