Ejemplo n.º 1
0
        private void toolStripMenuItem5_Click(object sender, EventArgs e)
        {
            if (Global.g_teacherPinying.Length > 0)
            {
                if (fConfig != null)
                {
                    fConfig.Dispose();
                    fConfig = null;
                }
                string toUrl       = "http://sso.api.xueyiyun.com/login/teacherLogin?loginname=" + Global.g_teacherPinying + "&username="******"&accessToken=" + Common.getAccessToken() + "&email=&phonenumber=&schoolPhaesId=1&subjectId=13&appid=163369";
                string explorePath = GetDefaultWebBrowserFilePath();
                System.Diagnostics.Process.Start(explorePath, toUrl);
            }
            else
            {
                bFormNotifyClosed = true;
                loadNofityForm("\r\n请在Pad上选择教师后查看", 0, 10);
            }

            //System.Diagnostics.Process.Start("iexplore.exe", toUrl);
        }