Exemplo n.º 1
0
 private void FillStreet()
 {
     using (var e = new PosBusiness.Catalogs())
     {
         this.cmbStreet.Fill(e.List(STREET));
     }
 }
Exemplo n.º 2
0
        private void LoadData(int?Id)
        {
            using (var e = new posb.Catalogs
            {
                Id = this.Id
            })
            {
                e.Get();

                this.txtName.Text = e.Name;
            }
        }
Exemplo n.º 3
0
        private void Save()
        {
            using (var e = new posb.Catalogs
            {
                Id = this.Id,
                Name = this.txtName.Text,
                Type = "Calle"
            })
            {
                e.Save();

                this.Result(true, "Success!!");

                this.Close();
            }
        }
Exemplo n.º 4
0
        public CalleList()
        {
            this.Entity = new posb.Catalogs();

            InitializeComponent();
        }