private void 申请toolStripButton1_Click(object sender, EventArgs e) { FormSchedule frm = new FormSchedule(m_authorityFlag, 0); frm.ShowDialog(); RefreshDataGridView(); PositioningRecord(frm.BillNo); }
private void dataGridView1_DoubleClick(object sender, EventArgs e) { if (dataGridView1.SelectedRows.Count == 0) { return; } int billID = Convert.ToInt32(dataGridView1.CurrentRow.Cells["编号"].Value); FormSchedule frm = new FormSchedule(m_authorityFlag, billID); frm.ShowDialog(); RefreshDataGridView(); PositioningRecord(billID.ToString()); }