private void CloseFRMAuthorEvent(object sender, frmAuthorClosedEventArgs e)
 {
     if(e.IsChange)
     {
         dgAuthorEx.DataSource = "";
         //dsAuthors = _daoAuthor.getAuthors(Convert.ToInt32(cbExperiments.SelectedValue.ToString()));
         dtAuthor = dsAuthors.Tables[0];
         setAuthorList();
     }
 }
Example #2
0
        protected virtual void frmAuthorClosedEvent(frmAuthorClosedEventArgs e)
        {
            EventHandler<frmAuthorClosedEventArgs> handler = RaiseAuthorClosedEvent;

            // Event will be null if there are no subscribers 
            if (handler != null)
            {
                // Use the () operator to raise the event.
                e.IsChange = bHasChanged;
                handler(this, e);
            }
        }