33 |
|
public new DialogResult ShowDialog(IWin32Window owner) { return this.PreInitDialog(owner); } |
34 |
|
private void PreInitShow(IWin32Window owner) |
35 |
|
{ |
36 |
< |
if (!this.RefreshList()) { MessageBox.Show("Could not find any PCSX2 Processes. Please start an instance of one."); } |
36 |
> |
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); } } |
38 |
|
} |
39 |
|
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; } |
41 |
> |
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); } } |
43 |
|
} |
44 |
|
private void btnLargeIcon_Click(object sender, EventArgs e) { this.lstProcessList.View = View.LargeIcon; } |