コード例 #1
0
 private void btnEditPaper_Click(object sender, EventArgs e)
 {
     PaperIndex = listBoxPapers.SelectedIndex;
     FormPaper fp = new FormPaper(this);
     fp.ShowDialog();
 }
コード例 #2
0
 private void btnAddPaper_Click(object sender, EventArgs e)
 {
     paperIndex = -1;
     FormPaper fp = new FormPaper(this);
     fp.ShowDialog();
 }