Beispiel #1
0
      private void _btnOpenOnClick(object sender, EventArgs e) {
         if (listCampaigns.SelectedItems.Count == 0) {
            return;
         }

         var campaignItem = (CampaignListItem)listCampaigns.SelectedItems[0];
         var frm = new FrmCampaignAddUpdate(campaignItem.Campaign);
         frm.Show(this);
      }
Beispiel #2
0
 private void _btnAddOnClick(object sender, EventArgs e) {
    var frm = new FrmCampaignAddUpdate();
    frm.FormClosed += (o1, e1) => {
       Activate();
       _listCampaignsRefresh();
    };
    frm.Show(this);
 }