Esempio n. 1
0
 public void connectData()
 {
     try
     {
         service = new VsService.VsService();
     }
     catch (Exception err)
     {
         //       logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace); ;
     }
 }
Esempio n. 2
0
        public void connectData()
        {
            try
            {

                service = new VsService.VsService();



            }
            catch (Exception err)
            {
         //       logger.Log(LogLevel.Error, err.Message + " " + err.Source + " " + err.StackTrace); ;
            }
        }
Esempio n. 3
0
        public void VsMWlogin()
        {
            //Session["UserName"] = Login1.UserName;
            //Session["Pass"] = Login1.Password;

            //if ("coe".Equals(Session["UserName"]) && "coe".Equals(Session["Pass"]))
            //{
            //  setA(true);
            // Login1.Visible = false;
            //   MultiView1.ActiveViewIndex = 1;

            //if (Session["VsServiceURL"] == null)
            //{
            //    //Session["VsServiceURL"] = string.Format("{0}/vsservice/service.asmx", getHostIP());
            //    Session["VsServiceURL"] = "http://172.30.0.48/vsservice/service.asmx";
            //}
            //  Label3.Text = "VsServer URL:" + Session["VsServiceURL"].ToString();
            // TextBox1.Text = Session["VsServiceURL"].ToString();

            //   Panel1.Visible = true;

            //   Label2.Text = "??????????????????? VS Web Application";

            //   Response.Redirect("VsLive.aspx");
            //}
            // else
            // {
            //     MultiView1.ActiveViewIndex = 0;
            //     Label2.Text = "????? Login ????????????????";
            //     setA(false);
            // }
            service = new VsService.VsService();
            if ("coe".Equals(user) && "coe".Equals(pass))
            {
                login = true;
            }
            else
            {
                login = false;
            }
        }
Esempio n. 4
0
        public void VsMWlogin()
        {

            //Session["UserName"] = Login1.UserName;
            //Session["Pass"] = Login1.Password;

            //if ("coe".Equals(Session["UserName"]) && "coe".Equals(Session["Pass"]))
            //{
            //  setA(true);
            // Login1.Visible = false;
            //   MultiView1.ActiveViewIndex = 1;

            //if (Session["VsServiceURL"] == null)
            //{
            //    //Session["VsServiceURL"] = string.Format("{0}/vsservice/service.asmx", getHostIP());
            //    Session["VsServiceURL"] = "http://172.30.0.48/vsservice/service.asmx";
            //}
            //  Label3.Text = "VsServer URL:" + Session["VsServiceURL"].ToString();
            // TextBox1.Text = Session["VsServiceURL"].ToString();

            //   Panel1.Visible = true;

            //   Label2.Text = "??????????????????? VS Web Application";

            //   Response.Redirect("VsLive.aspx");
            //}
            // else
            // {
            //     MultiView1.ActiveViewIndex = 0;
            //     Label2.Text = "????? Login ????????????????";
            //     setA(false);
            // }
            service = new VsService.VsService();
            if ("coe".Equals(user) && "coe".Equals(pass))
                login = true;
            else
                login = false;
           
        }