-
-
Notifications
You must be signed in to change notification settings - Fork 109
Check Downloaded and Drag & Dropped Mods for Targetted Game and Warn If None #769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
4c87269
7f88eee
76864cc
6930137
93dea82
5e177ac
7fab29d
5249e8f
64947d6
de781ef
c41c61b
115715c
2a5d8da
58c5558
1fe7401
4ed58eb
88f6bfe
b0ee37f
bdce2e8
b4126f5
3d2699c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,9 +10,9 @@ public class XamlResourceMessageBoxOkCancel : MessageBoxOkCancel | |
|
|
||
| } | ||
|
|
||
| public XamlResourceMessageBoxOkCancel(string titleResourceName, string descriptionResourceName, string okButtonTextResourceName, string cancelButtonTextResourceName) : base(new XamlResource<string>(titleResourceName).Get(), new XamlResource<string>(descriptionResourceName).Get()) | ||
| public XamlResourceMessageBoxOkCancel(string title, string message, string okText, string cancelText) : base(title, message) | ||
| { | ||
| this.CancelBtn.Content = Lib.Static.Resources.ResourceProvider.Get<string>(cancelButtonTextResourceName); | ||
| this.OKBtn.Content = Lib.Static.Resources.ResourceProvider.Get<string>(okButtonTextResourceName); | ||
|
Comment on lines
-13
to
-16
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unless I'm missing something, wouldn't this replace every instance of Ok/Cancel to Yes/No?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Uhh no? You are passing the text every time you call it. Plus other message boxes use another delegate to display their text. Only I'm using this one. |
||
| this.OKBtn.Content = okText; | ||
| this.CancelBtn.Content = cancelText; | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.