예제 #1
0
 protected void SaveMode(ModuleModeHandler saveHandler)
 {
     if (core.Http.Form["save"] != null)
     {
         if (core.Http.Form["mode"] != null)
         {
             saveHandler((object)this, new ModuleModeEventArgs(core.Http.Form["mode"]));
         }
     }
 }
예제 #2
0
 protected void AddModeHandler(string mode, ModuleModeHandler modeHandler)
 {
     modes.Add(mode, modeHandler);
 }