Exemplo n.º 1
0
 public ModelType(TypeRef.TypeServiceClient service)
 {
     this.service       = service;
     types              = new BindingList <CType>();
     toSave             = new List <CType>();
     toDelete           = new List <int>();
     converter          = new TestTypeApp.Client.Converter <TypeRef.type, CType>();
     types.ListChanged += types_ListChanged;
 }
Exemplo n.º 2
0
        public ModelManufacture(ManufactureRef.ManufactureServiceClient service)
        {
            this.service = service;

            types              = new BindingList <CManufacture>();
            toSave             = new List <CManufacture>();
            toDelete           = new List <int>();
            converter          = new TestTypeApp.Client.Converter <ManufactureRef.manufacture, CManufacture>();
            types.ListChanged += types_ListChanged;
        }