Exemple #1
0
    void Start()
    {
        switch (source)
        {
        case Vector3PredefinedSources.position:
        {
            GetData = new getData(() => transform.position);
            break;
        }

        case Vector3PredefinedSources.euler:
        {
            GetData = new getData(() => transform.rotation.eulerAngles);
            break;
        }

        case Vector3PredefinedSources.velocity:
        {
            rb = GetComponent <Rigidbody>();
            if (rb == null)
            {
                throw new MissingComponentException("Missing Rigidbody");
            }
            GetData = new getData(() => rb.velocity);
            break;
        }

        default:
        {
            Debug.Log("Predefined source not set");
            break;
        }
        }
    }
Exemple #2
0
    IEnumerator LoginWa()
    {
        using (UnityWebRequest www = UnityWebRequest.Get(Config.Control.urlWa))
        {
            yield return(www.SendWebRequest());


            string  dat  = www.downloadHandler.text;
            getData json = JsonUtility.FromJson <getData>(dat);

            //Debug.Log(json.config.id);

            if (www.isNetworkError || www.isHttpError)
            {
                Debug.Log(www.error);

                StartCoroutine(LoginWa());
            }
            else
            {
                no_waAwal.text = json.config.contact1;
                //Debug.Log("Berhasil");
                Tampil1 = true;
            }
        }
    }
 public Form3()
 {
     InitializeComponent();
     Sender = new getData(getIndex);
     setCBBLSH();
     rdMale.Checked = true;
 }
Exemple #4
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     try
     {
         if (this.dgvListMembers.SelectedRows.Count != 0)
         {
             string          memberId        = this.dgvListMembers.SelectedRows[0].Cells["colMemberId"].Value.ToString();
             frmUpdateMember frmUpdateMember = new frmUpdateMember();
             frmUpdateMember.ThemMoi = false;
             getData getDB = new getData(frmUpdateMember.WriteData);
             getDB(memberId);
             frmUpdateMember.ShowDialog();
             //LoadData_ToGridView();
             btnSearch_Click(sender, e);
         }
         else
         {
             CustomMessageBox.MessageBox.ShowCustomMessageBox(Common.clsLanguages.GetResource("CRM369"),
                                                              Common.clsLanguages.GetResource("CRM11"),
                                                              Common.Config.CUSTOM_MESSAGEBOX_ICON.Information,
                                                              Common.Config.CUSTOM_MESSAGEBOX_BUTTON.OK);
         }
     }
     catch (Exception)
     {
         CustomMessageBox.MessageBox.ShowCustomMessageBox(Common.clsLanguages.GetResource("CRM292"),
                                                          Common.clsLanguages.GetResource("CRM12"),
                                                          Common.Config.CUSTOM_MESSAGEBOX_ICON.Information,
                                                          Common.Config.CUSTOM_MESSAGEBOX_BUTTON.OK);
         return;
     }
 }
        private void btnEdit_Click(object sender, EventArgs e)
        {
            try
            {
                if (this.dgvManagerAction.SelectedRows.Count != 0)
                {
                    pStatusAddNew = false;

                    string          pActionsID  = this.dgvManagerAction.SelectedRows[0].Cells[0].Value.ToString();
                    frmUpdateAction frmUpAction = new frmUpdateAction();
                    getData         getDB       = new getData(frmUpAction.WriteData);
                    getDB(pActionsID);
                    frmUpAction.ShowDialog();
                    //Reload data
                    LoadData();
                }
                else
                {
                    CustomMessageBox.MessageBox.ShowCustomMessageBox(Common.clsLanguages.GetResource("CRM369"),
                                                                     Common.clsLanguages.GetResource("CRM11"),
                                                                     Common.Config.CUSTOM_MESSAGEBOX_ICON.Information,
                                                                     Common.Config.CUSTOM_MESSAGEBOX_BUTTON.OK);
                }
            }
            catch (Exception)
            {
                CustomMessageBox.MessageBox.ShowCustomMessageBox(Common.clsLanguages.GetResource("CRM292"),
                                                                 Common.clsLanguages.GetResource("CRM12"),
                                                                 Common.Config.CUSTOM_MESSAGEBOX_ICON.Information,
                                                                 Common.Config.CUSTOM_MESSAGEBOX_BUTTON.OK);
                return;
            }
        }
Exemple #6
0
 public DangKy()
 {
     InitializeComponent();
     conn            = new getData();
     quyen           = 3;
     lbQuyen.Visible = false;
     cbQuyen.Visible = false;
 }
 public Form2()
 {
     Sender = new getData(getIndex);
     InitializeComponent();
     getCbbLSH();
     rdFemale.Checked = true;
     //setFunc();
 }
Exemple #8
0
        private void Form1_Load(object sender, EventArgs e)
        {
            String versionlocal = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();

            label3.Text = versionlocal;
            version version = new version();
            getData getData = new getData();

            getData.getiprouter();
            //if (version.judgeversion(versionlocal) == true)
            //{
            //    this.Close();
            //    downloadexe downloadexe = new downloadexe();
            //    downloadexe.Show();
            //}
            //else
            //{
            System.Diagnostics.Process[] myProcesses = System.Diagnostics.Process.GetProcessesByName("ztoffice"); //获取指定的进程名
            if (myProcesses.Length > 1)                                                                           //如果可以获取到知道的进程名则说明已经启动
            {
                MessageBox.Show("程序已启动!");
                Application.Exit();              //关闭系统
            }

            this.txtZerenren1.Text = Properties.Settings.Default.name;
            bool flag = Properties.Settings.Default.isrem;

            if (flag)
            {
                string sql_pass = "******" + txtZerenren1.Text.Trim() + "'";
                String password = Convert.ToString(SQLhelp.ExecuteScalar(sql_pass, CommandType.Text));
                this.checkbox1.Checked = true;
                this.txtPwd.Text       = password;
            }

            string    sql  = "select 用户名 from tb_operator";
            DataTable aaaa = SQLhelp.GetDataTable(sql, CommandType.Text);


            List <string> spaceminute = new List <string>();

            for (int i = 0; i < aaaa.Rows.Count; i++)
            {
                string n = aaaa.Rows[i]["用户名"].ToString();
                spaceminute.Add(n);
            }


            foreach (string s in spaceminute)
            {
                //comboBox1.Items.Add(s);
            }
            //}
        }
Exemple #9
0
        public ActionResult ViewImg()
        {
            Models.ListOfImg loi   = new Models.ListOfImg();
            String           email = Request.Params["UID"].ToString();
            String           PID   = Request.Params["PID"].ToString();
            getData          gd    = new getData();

            loi.img = gd.theImg(email, PID);

            return(View(loi));
        }
    protected void btnAgregar_Click(object sender, EventArgs e)
    {
        String idhotel   = ddlHotel.Text;
        String idusaurio = txtUsuario.Text;
        String iddepto   = ddlDepartamento.Text;
        String idperiodo = txtPeriodo.Text;
        String anio      = txtAnio.Text;

        DataSet ds;
        getData obj = new getData();

        obj.SeccionConnStr = "DSNCONN";
        ds = obj.insertJefe(idhotel, idusaurio, iddepto, idperiodo, anio);


        if (ds.Tables[0].Rows.Count > 0)
        {
            String insert = ds.Tables[0].Rows[0]["inserta"] as string;


            if (insert == "1")
            {
                MessageBox.Show("Usuario Agregado Correctamente");
            }
            else
            {
                MessageBox.Show("Usuario Ya existe");
            }
        }

/*
 *      String conexion = "Data Source=SIEM;Initial Catalog=DevClimaLaboral2;User ID=sa;Password=siem2000";
 *      SqlConnection cnn = new SqlConnection(conexion);
 *
 *      cnn.Open();
 *      SqlCommand cmd=new SqlCommand("SpAgregarJefe",cnn);
 *      cmd.CommandType = CommandType.StoredProcedure;
 *      cmd.Parameters.Add("@IDHOTEL", SqlDbType.VarChar).Value = txtHotel.Text;
 *      cmd.Parameters.Add("@IDUSUARIO", SqlDbType.Int).Value = txtUsuario.Text;
 *      cmd.Parameters.Add("@IDDEPTO", SqlDbType.Int).Value = txtDepartamento.Text;
 *      cmd.Parameters.Add("@IDPERIODO", SqlDbType.Int).Value = txtPeriodo.Text;
 *      cmd.Parameters.Add("@AÑO", SqlDbType.Int).Value = txtAnio.Text;
 *      cmd.ExecuteNonQuery();
 *
 *      MessageBox.Show("Usuario Agregado Correctamente");
 *      txtHotel.Text = "";
 *      txtUsuario.Text = "";
 *      txtDepartamento.Text = "";
 *      txtPeriodo.Text = "";
 *      txtAnio.Text = "";
 */
    }
Exemple #11
0
        void Start()
        {
            switch (source)
            {
            case TexturePredefinedSources.camera:
            {
                if (cam == null)
                {
                    cam = GetComponent <Camera>();
                    if (cam == null)
                    {
                        throw new MissingComponentException("Missing Camera");
                    }
                }
                rect         = new Rect(0, 0, cam.pixelWidth, cam.pixelHeight);
                dummyTexture = new Texture2D(cam.pixelWidth, cam.pixelHeight);
                GetData      = new getData(() =>
                    {
                        cam.targetTexture = renderTexture;
                        cam.Render();
                        dummyTexture.ReadPixels(rect, 0, 0, false);
                        return(dummyTexture);
                    });
                break;
            }

            case TexturePredefinedSources.webcam:
            {
                webcamTexture = new WebCamTexture();
                webcamTexture.Play();
                var rawImage = GetComponent <RawImage>();
                rawImage.material.mainTexture = webcamTexture;
                dummyTexture = new Texture2D(rawImage.material.mainTexture.width, rawImage.material.mainTexture.height);
                Debug.Log("Webcam Texture is " + rawImage.material.mainTexture.width.ToString() + " " + rawImage.material.mainTexture.height.ToString());
                Assert.IsNotNull(rawImage);
                GetData = new getData(() =>
                    {
                        dummyTexture.SetPixels(webcamTexture.GetPixels());
                        return(dummyTexture);
                    });
                break;
            }

            default:
            {
                Debug.Log("Texture2D Not streaming");
                dummyTexture = new Texture2D(1, 1);
                GetData      = new getData(() => dummyTexture);
                break;
            }
            }
        }
    IEnumerator GetBiodata()
    {
        using (UnityWebRequest www = UnityWebRequest.Get(rootURL + "?token=" + token))
        {
            yield return(www.SendWebRequest());


            string  dat  = www.downloadHandler.text;
            getData json = JsonUtility.FromJson <getData>(dat);

            Debug.Log(json.config.id);
        }
    }
Exemple #13
0
        public string Post(getData data)
        {
            custom get    = new custom();
            string result = "";

            if (data == null)
            {
                result = get.getData("");
            }
            else
            {
                result = get.getData(data.code);
            }
            return(result);
        }
    public void obtenerHoteles()
    {
        DataSet ds;
        getData obj = new getData();

        obj.SeccionConnStr = "DSNCONN";
        ds = obj.getHoteles();

        if (ds.Tables[0].Rows.Count > 0)
        {
            ddlHotel.DataSource     = ds.Tables[0];
            ddlHotel.DataTextField  = "nombre";
            ddlHotel.DataValueField = "idhotel";
            ddlHotel.DataBind();
        }
    }
    public void obtenerDepartamentos(String idhotel)
    {
        DataSet ds;
        getData obj = new getData();

        //idhotel = ddlHotel.SelectedValue;

        obj.SeccionConnStr = "DSNCONN";
        ds = obj.getDepartamentos(idhotel);

        if (ds.Tables[0].Rows.Count > 0)
        {
            ddlDepartamento.DataSource     = ds.Tables[0];
            ddlDepartamento.DataTextField  = "depto";
            ddlDepartamento.DataValueField = "iddepto";
            ddlDepartamento.DataBind();
        }
        //int sdepto = Convert.ToInt32(ddlDepartamento.SelectedValue);
    }
Exemple #16
0
    protected void BttnLogin_Click(object sender, EventArgs e)
    {
        lblAlert.Visible = false;

        String user = this.txtUsuario.Text.ToString();
        String pass = this.TxtPwd.Text.ToString();

        DataSet ds;
        getData obj = new getData();

        obj.SeccionConnStr = "DSNCONN";
        ds = obj.getLogIn(user, pass);

        // trae valores
        if (ds.Tables[0].Rows.Count > 0)
        {
            string estatus = ds.Tables[0].Rows[0]["estatus"] as string;

            if (estatus == "1")
            {
                // acceso = true
                // Creating a Cookie Object //
                HttpCookie _userInfoCokies = new HttpCookie("UserInfo");
                // Setting values inside it //
                Int32  idUsuarioValue = Convert.ToInt32(ds.Tables[0].Rows[0]["idusuario"].ToString());
                string NombreValue    = ds.Tables[0].Rows[0]["nombre"] as string;
                string PaternoValue   = ds.Tables[0].Rows[0]["appaterno"] as string;

                _userInfoCokies["idUsuario"] = idUsuarioValue.ToString();  //ds.Tables[0].Rows[1]["idusuario"] as string;
                _userInfoCokies["Nombre"]    = NombreValue;
                _userInfoCokies["ApPaterno"] = PaternoValue;
                Response.Cookies.Add(_userInfoCokies);

                Response.Redirect("home.aspx");
            }
            else
            {
                lblAlert.Visible   = true;
                this.lblAlert.Text = "* USUARIO/PASS INCORRECTO";
            }
        }
    }
Exemple #17
0
        // GET: Admin
        public ActionResult Admin()
        {
            if (Session["AdminLogin"] != null)
            {
                try
                {
                    if (!Request.Params["Password"].Equals("EAlo") && !Request.Params["Admin"].Equals("EAlo"))
                    {
                        adminV = true;
                    }
                }
                catch (Exception e)
                {
                    if (adminV == false)
                    {
                        return(Redirect("~/EAlo/EAlo"));
                    }
                }

                getData gd = new getData();
                gd.theData();
                Models.ListOfApproveTable loa = new Models.ListOfApproveTable();
                loa.email        = gd.email;
                loa.UserDetails  = gd.UserDetails;
                loa.FixedDetails = gd.FixedDetails;
                loa.price        = gd.price;
                loa.PID          = gd.PID;
                loa.Phone        = gd.Phone;
                loa.count        = gd.DataCount;
                return(View(loa));
            }
            else
            {
                return(Redirect("~/AdminLogin/AdminLogin"));
            }
        }
Exemple #18
0
 public DangKy(bool checkAdmin)
 {
     InitializeComponent();
     conn = new getData();
 }
 public QLDonHang()
 {
     InitializeComponent();
     cn = new getData();
 }
Exemple #20
0
 public QLLoaiSanPham()
 {
     InitializeComponent();
     con = new getData();
 }
Exemple #21
0
 public AddForm()
 {
     InitializeComponent();
     get = new getData(get_data);
 }
Exemple #22
0
 public ChiTietSanPham(int id)
 {
     InitializeComponent();
     Id   = id;
     conn = new getData();
 }
 public QLNhaCungCap()
 {
     InitializeComponent();
     con = new getData();
 }
Exemple #24
0
        public void Data(string TokenType, string Token)
        {
            var client  = new RestClient("http://rastreo.gps.hn:81");                   //Dirección URL de la página.
            var request = new RestRequest("/api/Devices/ClientDevices", Method.GET);    // Solicitud por método GET, con los párametros por el Header.

            request.AddHeader("Accept", "application/jso");
            request.AddHeader("ContentType", "application/jso");
            request.AddHeader("Authorization", TokenType + " " + Token);


            // execute the request
            request.RequestFormat = DataFormat.Json;                                    //Convirtiendo el la información a formato JSON.
            IRestResponse response = client.Execute(request);                           //Ejecutando el Request.
            var           content  = response.Content;                                  //Almacenando el contenido del Request.

            getData data = JsonConvert.DeserializeObject <getData>(content.ToString()); //Creando un Array de Objetos, clase getData().

            //ciclo
            DetailData detail;
            int        isOn = 0, isIdle = 0;

            cnx.Open();
            try
            {
                foreach (var dt in data.Data)                                           //
                {
                    detail = JsonConvert.DeserializeObject <DetailData>(dt.ToString()); //Convirtiendo cada objeto a los valores de la clase DetailData()

                    if (detail.isOn)
                    {
                        isOn = 1;
                    }
                    if (detail.isIdle)
                    {
                        isIdle = 1;
                    }

                    string sql = "spGPSapiInsert @vei, @fech, @lat, @lon, @vel, @eve, @isOn, @isIdle";
                    cnn = new SqlCommand(sql, cnx);
                    cnn.Parameters.AddWithValue("@vei", detail.description);
                    cnn.Parameters.AddWithValue("@fech", detail.date);
                    cnn.Parameters.AddWithValue("@lat", detail.latitude);
                    cnn.Parameters.AddWithValue("@lon", detail.longitude);
                    cnn.Parameters.AddWithValue("@vel", detail.speed);
                    cnn.Parameters.AddWithValue("@eve", string.Join(", ", detail.events.ToArray()));
                    cnn.Parameters.AddWithValue("@isOn", isOn);
                    cnn.Parameters.AddWithValue("@isIdle", isIdle);
                    try
                    {
                        cnn.ExecuteNonQuery();
                        isOn = 0; isIdle = 0;
                    }
                    catch (Exception ex)
                    {
                        if (cnx.State == ConnectionState.Closed)
                        {
                            cnx.Open();
                            cnn = new SqlCommand("spBitacoraInsert @err", cnx);
                            cnn.Parameters.AddWithValue("@err", response.StatusDescription + "   " + ex.Message + "   " + DateTime.Now.ToLongTimeString());
                            cnn.ExecuteNonQuery();
                            cnx.Close();
                        }
                        else
                        {
                            cnn = new SqlCommand("spBitacoraInsert @err", cnx);
                            cnn.Parameters.AddWithValue("@err", response.StatusDescription + "   " + ex.Message + "   " + DateTime.Now.ToLongTimeString());
                            cnn.ExecuteNonQuery();
                            cnx.Close();
                        }
                        throw;
                    }
                }

                ///Guardado
                if (cnx.State == ConnectionState.Closed)
                {
                    cnx.Open();
                    cnn = new SqlCommand("spBitacoraInsert @err", cnx);
                    cnn.Parameters.AddWithValue("@err", "Registros guardados exitosamente! " + DateTime.Now.ToLongTimeString());
                    cnn.ExecuteNonQuery();
                    cnx.Close();
                }
                else
                {
                    cnn = new SqlCommand("spBitacoraInsert @err", cnx);
                    cnn.Parameters.AddWithValue("@err", "Registros guardados exitosamente! " + DateTime.Now.ToLongTimeString());
                    cnn.ExecuteNonQuery();
                    cnx.Close();
                }
            }
            catch (Exception ex)
            {
                if (cnx.State == ConnectionState.Closed)
                {
                    cnx.Open();
                    cnn = new SqlCommand("spBitacoraInsert @err", cnx);
                    cnn.Parameters.AddWithValue("@err", response.StatusDescription + "   " + ex.Message + "   " + DateTime.Now.ToLongTimeString());
                    cnn.ExecuteNonQuery();
                    cnx.Close();
                }
                else
                {
                    cnn = new SqlCommand("spBitacoraInsert @err", cnx);
                    cnn.Parameters.AddWithValue("@err", response.StatusDescription + "   " + ex.Message + "   " + DateTime.Now.ToLongTimeString());
                    cnn.ExecuteNonQuery();
                    cnx.Close();
                }
            }
            if (cnx.State == ConnectionState.Open)
            {
                cnx.Close();
            }
        }
Exemple #25
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            if (String.IsNullOrEmpty(txtZerenren1.Text.Trim()))
            {
                MessageBox.Show("登录用户不许为空!", "软件提示");

                return;
            }

            if (String.IsNullOrEmpty(txtPwd.Text))
            {
                MessageBox.Show("登录密码不许为空!", "软件提示");
                txtPwd.Focus();
                return;
            }
            //用户编码不重复
            string strSql = "select * from tb_operator where 用户名 = '" + txtZerenren1.Text.Trim() + "'";

            if (Convert.ToString(SQLhelp.ExecuteScalar(strSql, CommandType.Text)) == "")
            {
                MessageBox.Show("登录用户不正确!", "软件提示");

                return;
            }
            try
            {
                DataTable dt = SQLhelp.GetDataTable(strSql, CommandType.Text);
                DataRow   dr = dt.Rows[0];



                string a = dt.Rows[0]["用户名"].ToString(); //用户名


                string ce = dt.Rows[0]["密码"].ToString();


                if (txtPwd.Text != dt.Rows[0]["密码"].ToString())  //若密码不相同
                {
                    MessageBox.Show("登录密码不正确!", "软件提示");
                    txtPwd.Focus();
                }
                else
                {
                    String  Triton  = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
                    version version = new version();
                    if (version.pluto(Triton, "zttoffice") && judgedepartment(a))
                    {
                        downloadexe downloadexe = new downloadexe();
                        downloadexe.ShowDialog();
                        this.Close();
                    }
                    else if (version.pluto1(Triton))
                    {
                        version.setprocess();
                    }

                    else
                    {
                        BonusSkins.Register();
                        SkinManager.EnableFormSkins();
                        UserLookAndFeel.Default.SetSkinStyle("Office 2010 Blue");  // 设置皮肤样式
                        getdevice getdevice = new getdevice();
                        getData   getData   = new getData();
                        //string s = Convert.ToDateTime(getData.getservertime());
                        Dictionary <string, string> dty = getdevice.getdevice1();
                        //getdevice.readdata(dt.Rows[0]["用户名"].ToString());
                        string sql = "insert into tb_denglu (登录人,登录时间,mac号,cpuid,硬盘序号,操作系统,内外网,公网ip,内网ip,显卡信息,机子类型,版本号) values('" + dt.Rows[0]["用户名"].ToString() + "','" + Convert.ToDateTime(getData.getservertime())
                                     + "','" + dty["mac号"] + "','" + dty["cpuid"] + "','" + dty["硬盘序号"] + "','" + dty["操作系统"] + "','" + dty["内外网"] + "','" + dty["公网ip"] + "','" + dty["内网ip"] + "','" + dty["显卡信息"] + "','" + dty["机子类型"] + "','" + Triton + "')";
                        xiangmusql.ExecuteScalar(sql, CommandType.Text);

                        aa.yonghu = dt.Rows[0]["用户名"].ToString();
                        Properties.Settings.Default.isrem = this.checkbox1.Checked;
                        Properties.Settings.Default.name  = this.txtZerenren1.Text;
                        Properties.Settings.Default.Save();

                        byte[]     byData   = new byte[100];
                        char[]     charData = new char[1000];
                        FileStream file     = new FileStream(Application.StartupPath + "\\提示.txt", FileMode.Open);
                        file.Seek(0, SeekOrigin.Begin);
                        file.Read(byData, 0, 100);
                        Decoder d = Encoding.Default.GetDecoder();
                        d.GetChars(byData, 0, byData.Length, charData, 0);

                        file.Close();

                        FileStream fs = new FileStream(Application.StartupPath + "\\提示.txt", FileMode.Open);
                        //获得字节数组
                        byte[] data = System.Text.Encoding.Default.GetBytes("1");
                        //开始写入
                        fs.Write(data, 0, data.Length);
                        //清空缓冲区、关闭流
                        fs.Flush();
                        fs.Close();
                        if (charData[0].ToString() == "0")
                        {
                            Frtishi form1 = new Frtishi();
                            form1.yonghu = dt.Rows[0]["用户名"].ToString();
                            form1.Show();
                            this.Hide();
                        }

                        string    sql3 = "select mac号 from tb_mac where mac号='" + dty["mac号"] + "'";
                        DataTable dt1  = xiangmusql.GetDataTable(sql3, CommandType.Text);
                        if (dt1.Rows.Count < 1)
                        {
                            Frtishi1 Frtishi1 = new Frtishi1(dty["mac号"]);
                            Frtishi1.ShowDialog();
                        }
                        else
                        {
                            if (charData[0].ToString() == "1")
                            {
                                aa.Show();
                                this.Hide();
                            }
                        }
                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "软件提示");
            }
        }
Exemple #26
0
 public TonKho()
 {
     InitializeComponent();
     cn = new getData();
 }
Exemple #27
0
 public TaiKhoan()
 {
     InitializeComponent();
     cn = new getData();
 }
Exemple #28
0
 public QLNhanVien()
 {
     InitializeComponent();
     cn = new getData();
 }
Exemple #29
0
 public QLDienThoai()
 {
     InitializeComponent();
     conn = new getData();
 }
Exemple #30
0
 public SanPham()
 {
     InitializeComponent();
     conn = new getData();
 }