コード例 #1
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (lbEllections.SelectedItem != null)
     {
         CreateEllection popup = new CreateEllection((Ellection)lbEllections.SelectedItem);
         popup.Show();
     }
 }
コード例 #2
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            CreateEllection popup = new CreateEllection(null);

            popup.Show();
        }