Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. public class MyProjectTemplateWizardPage : WizardPage
  2. {
  3. MyProjectTemplateWizard wizard;
  4. IMyProjectTemplateView view;
  5.  
  6. public MyProjectTemplateWizardPage (MyTemplateWizard wizard)
  7. {
  8. this.wizard = wizard;
  9. CanMoveToNextPage = true;
  10. }
  11.  
  12. protected override object CreateNativeWidget ()
  13. {
  14. if (view == null) {
  15. view = new GtkProjectConfigurationWidget ();
  16. view.WizardPage = this;
  17. }
  18. return view;
  19. }
  20.  
  21. public override string Title {
  22. get { return GettextCatalog.GetString ("Configure your app"); }
  23. }
  24.  
  25. protected override void Dispose (bool disposing)
  26. {
  27. if (view != null) {
  28. view.Dispose ();
  29. view = null;
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement