Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 18th, 2013  |  syntax: None  |  size: 0.73 KB  |  views: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. private void alterCmpd1()
  2. {
  3.     EventHandler AlterEvent = AlterCompound1_Action;
  4.     if (AlterEvent != null) AlterEvent(this, EventArgs.Empty);
  5. }
  6.  
  7. public event EventHandler AlterCompound1_Action;
  8.        
  9. AlertEvent(this, EventArgs.Empty);
  10.        
  11. public MainPresenter(IMainView view, IModel model)
  12.     {
  13.         this.view = view;
  14.         this.view.AlterCompound1_Action += new EventHandler(view_AlterCompound1);
  15.         this.model = model;
  16.         view.Show();
  17.     }
  18.  
  19.     void view_AlterCompound1(object sender, EventArgs e)
  20.     {
  21.         // I commented out this code, on the off
  22.         // chance that it was affecting things. Still no luck.
  23.     }
  24.        
  25. private void AlterCompound1_Action(object, EventArgs e)
  26. {
  27.     throw new NotImplementedException();
  28. }