protected override void OnInitialize() { this.view = this.AttachView <CodeGenView>(); that = this; // TODO: put your init logic here base.OnInitialize(); }
protected override void OnDispose() { SaveViewObj(); that = null; // TODO: dispose other resources base.OnDispose(); }