/[EmuXPortal]/trunk/EmuXPortal/Form1.cs
ViewVC logotype

Diff of /trunk/EmuXPortal/Form1.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 105 by william, Wed Aug 22 02:36:47 2012 UTC revision 109 by william, Thu Aug 23 02:20:19 2012 UTC
# Line 349  namespace EmuXPortal Line 349  namespace EmuXPortal
349          private void UpdatePlatformControls()          private void UpdatePlatformControls()
350          {          {
351              if (platform_flow.InvokeRequired) { platform_flow.Invoke((MethodInvoker)delegate() { UpdatePlatformControls(); }); }              if (platform_flow.InvokeRequired) { platform_flow.Invoke((MethodInvoker)delegate() { UpdatePlatformControls(); }); }
352              else { this.Refresh(); this.Update(); }              else { this.Update(); }
353          }          }
354          private void AddGameControl(Control c)          private void AddGameControl(Control c)
355          {          {
# Line 362  namespace EmuXPortal Line 362  namespace EmuXPortal
362          private void UpdateGameControls()          private void UpdateGameControls()
363          {          {
364              if (rom_flow.InvokeRequired) { rom_flow.Invoke((MethodInvoker)delegate() { UpdateGameControls(); }); }              if (rom_flow.InvokeRequired) { rom_flow.Invoke((MethodInvoker)delegate() { UpdateGameControls(); }); }
365              else { this.Refresh(); this.Update(); }              else { this.Update(); }
366          }          }
367          #region gameWorker          #region gameWorker
368          private void gameWorker_DoWork(object sender, DoWorkEventArgs e)          private void gameWorker_DoWork(object sender, DoWorkEventArgs e)

Legend:
Removed from v.105  
changed lines
  Added in v.109

  ViewVC Help
Powered by ViewVC 1.1.22