Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 | using Microsoft.Practices.ObjectBuilder;
|
---|
5 | using Microsoft.Practices.CompositeWeb;
|
---|
6 |
|
---|
7 | namespace OKB.Shell.MasterPages
|
---|
8 | {
|
---|
9 | public class DefaultMasterPresenter : Presenter<IDefaultMasterView>
|
---|
10 | {
|
---|
11 |
|
---|
12 | // NOTE: Uncomment the following code if you want ObjectBuilder to inject the module controller
|
---|
13 | // The code will not work in the Shell module, as a module controller is not created by default
|
---|
14 | //
|
---|
15 | // private IShellController _controller;
|
---|
16 | // public DefaultMasterPresenter([CreateNew] IShellController controller)
|
---|
17 | // {
|
---|
18 | // _controller = controller;
|
---|
19 | // }
|
---|
20 |
|
---|
21 | public override void OnViewLoaded()
|
---|
22 | {
|
---|
23 | // TODO: Implement code that will be executed every time the view loads
|
---|
24 | }
|
---|
25 |
|
---|
26 | public override void OnViewInitialized()
|
---|
27 | {
|
---|
28 | // TODO: Implement code that will be executed the first time the view loads
|
---|
29 | }
|
---|
30 |
|
---|
31 | // TODO: Handle other view events and set state in the view
|
---|
32 | }
|
---|
33 | }
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.