/[RomCheater]/trunk/RomCheater/PIDSelector.cs
ViewVC logotype

Diff of /trunk/RomCheater/PIDSelector.cs

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

revision 92 by william, Wed May 9 21:42:21 2012 UTC revision 93 by william, Wed May 9 22:23:18 2012 UTC
# Line 33  namespace RomCheater Line 33  namespace RomCheater
33          public new DialogResult ShowDialog(IWin32Window owner) { return this.PreInitDialog(owner); }          public new DialogResult ShowDialog(IWin32Window owner) { return this.PreInitDialog(owner); }
34          private void PreInitShow(IWin32Window owner)          private void PreInitShow(IWin32Window owner)
35          {          {
36              if (!this.RefreshList()) { MessageBox.Show("Could not find any PCSX2 Processes.  Please start an instance of one."); }              if (!this.RefreshList()) { MessageBox.Show(string.Format("Could not find any Processes for plugin {0}.  Please start an instance of one.",plugin.ToString())); }
37              else { if (owner == null) { base.Show(); } else { base.Show(owner); } }              else { if (owner == null) { base.Show(); } else { base.Show(owner); } }
38          }          }
39          private DialogResult PreInitDialog(IWin32Window owner)          private DialogResult PreInitDialog(IWin32Window owner)
40          {          {
41              if (!this.RefreshList()) { MessageBox.Show("Could not find any PCSX2 Processes.  Please start an instance of one."); return DialogResult.Cancel; }              if (!this.RefreshList()) { MessageBox.Show(string.Format("Could not find any Processes for plugin {0}.  Please start an instance of one.", plugin.ToString())); return DialogResult.Cancel; }
42              else { if (owner == null) { return base.ShowDialog(); } else { return base.ShowDialog(owner); } }              else { if (owner == null) { return base.ShowDialog(); } else { return base.ShowDialog(owner); } }
43          }          }
44          private void btnLargeIcon_Click(object sender, EventArgs e) { this.lstProcessList.View = View.LargeIcon; }          private void btnLargeIcon_Click(object sender, EventArgs e) { this.lstProcessList.View = View.LargeIcon; }

Legend:
Removed from v.92  
changed lines
  Added in v.93

  ViewVC Help
Powered by ViewVC 1.1.22