示例#1
0
 private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex < 0) return;
     string id = dataGridView1.Rows[e.RowIndex].Cells["SId"].Value.ToString();
     string base_ = dataGridView1.Rows[e.RowIndex].Cells["Base"].Value.ToString();
     CashierSend frm = new CashierSend(id, base_);
     frm.ShowDialog();
     try
     {
         if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
             LoadFirstSend("");
     }
     catch { }
 }
示例#2
0
 private void toolStripLabelOutstandingReapir_Click(object sender, EventArgs e)
 {
     CashierSend frm = new CashierSend();
     frm.ShowDialog();
     try
     {
         if (frm.DialogResult == System.Windows.Forms.DialogResult.OK)
             LoadFirstSend("");
     }
     catch { }
 }