public static T showEditor <T>(this API_GitHub_Issues gitHubIssues, T control, string repository)
     where T : Control
 {
     gitHubIssues.setupRepository(repository);
     gitHubIssues.login();
     return(gitHubIssues.showEditor(control));
 }
        public void showGui()
        {
            //var repository = "What is the repository you want to see?".askUser();
            //var repository =  "SecurityInnovation/YASAT";
            var repository   = "SecurityInnovation/TeamMentor";
            var gitHubIssues = new API_GitHub_Issues();

            gitHubIssues.setupRepository(repository);
            gitHubIssues.login();
            gitHubIssues.showEditor();
        }
        public static Panel showEditor(this API_GitHub_Issues gitHubIssues)
        {
            var topPanel = O2Gui.open <Panel>("GitHub Issues Editor", 1000, 400);

            return(gitHubIssues.showEditor(topPanel));
        }
 public static Panel showEditor(this API_GitHub_Issues gitHubIssues, string repository)
 {
     gitHubIssues.setupRepository(repository);
     gitHubIssues.login();
     return(gitHubIssues.showEditor());
 }