コード例 #1
0
        private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SettlementSheetForm form = new SettlementSheetForm();

            form.ShowDialog();
            refreshDataGrid();
        }
コード例 #2
0
 private void editToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dataGridSheets.SelectedRows.Count > 0)
     {
         SettlementSheetForm form = new SettlementSheetForm(list[dataGridSheets.SelectedRows[0].Index]);
         form.ShowDialog();
         refreshDataGrid();
     }
 }