Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int status;
- using (var y = new
- YesNoAlwaysForm(SMR.SavePrefText))
- {
- y.ShowDialog();
- status = y.Status; // Get Result.
- }
- // YesNoAlways Status Legend:
- // 1 = Yes, 2 = No,
- // 3 = Yes as Pref. 4 = No as Pref.
- switch (status)
- {
- case 1:
- OneTimeYes();
- break;
- //case 2:
- //OneTimeNo(); // Does nothing here.
- case 3:
- PrefOfYes();
- break;
- case 4:
- PrefOfNo();
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement