internal void SetFocus() { switch (_CurrentTab) { case "edit": tbEditor.Focus(); break; case "preview": rdlPreview.Focus(); break; case "design": dcDesign.SetFocus(); break; } }
internal void SetFocus() { switch (_CurrentTab) { case DesignTabs.Edit: scintilla1.Focus(); break; case DesignTabs.Preview: rdlPreview.Focus(); break; case DesignTabs.Design: dcDesign.SetFocus(); break; } }