Example #1
0
        void SignUpButton_Clicked()
        {
            OrganizationPanel organizationPanel = new OrganizationPanel(
                new List <string>()
            {
                "codice@codice", "skullcito@codice"
            });

            //OrganizationPanel organizationPanel = new OrganizationPanel(new List<string>() { "codice@codice" });
            //OrganizationPanel organizationPanel = new OrganizationPanel(new List<string>() { });
            mParentWindow.mTabView.SwitchContent(organizationPanel);
        }
        internal void ShowOrganizationPanel(
            string title,
            List <string> organizations,
            bool canCreateAnOrganization)
        {
            mOrganizationPanel = new OrganizationPanel(
                this,
                sRestApi,
                title,
                organizations,
                canCreateAnOrganization);

            ReplaceRootPanel(mOrganizationPanel);
        }