public void Show() { TemplateView.ContentState contentState = this.currentState; this.currentState = TemplateView.ContentState.OpeningOrClosing; (this.formObj as ClientBaseForm).OpenForm(this.isFirstOpen); this.currentState = contentState; this.isFirstOpen = false; }
public TemplateView(string templateName) { this.name = templateName; this.currentState = TemplateView.ContentState.New; }
public void Hide() { TemplateView.ContentState contentState = this.currentState; this.currentState = TemplateView.ContentState.OpeningOrClosing; ((ClientBaseForm)this.formObj).HideForm(); this.currentState = contentState; }