public WallBeam(Point ubicationPoint) { this.gridRepository = new GridRepository(); this.priceAndCostHandler = new PriceAndCostHandler(gridRepository); this.UbicationPoint = ubicationPoint; this.wallBeamBrush = new SolidBrush(Color.Red); }
public DecorativeColumn(Point ubicationPoint) { this.gridRepository = new GridRepository(); this.priceAndCostHandler = new PriceAndCostHandler(gridRepository); this.UbicationPoint = ubicationPoint; this.wallBeamBrush = new SolidBrush(Color.Gold); this.width = 0.50f; }
public NewOpeningForm(GridRepository repository, User user) { InitializeComponent(); this._repository = repository; this.priceAndCostHandler = new PriceAndCostHandler(this._repository); this.generatedDoorHandler = new GeneratedDoorHandler(); this.generatedWindowHandler = new GeneratedWindowHandler(); this.user = user; }
public ConfigurationPrice() { this.gridRepository = new GridRepository(); priceAndCostHandler = new PriceAndCostHandler(gridRepository); InitializeComponent(); this.AccessibleName = "Precios"; this.titleTxt.Text = "Configuracion de Precios"; }
public Wall(Point startPoint, Point endPoint) { this.gridRepository = new GridRepository(); this.priceAndCostHandler = new PriceAndCostHandler(gridRepository); SetRightSense(startPoint, endPoint); this.Path = new List <Point>(); this.wallPen = new Pen(Color.LightGreen, 4); this.createPath(); this.PriceAndCost = priceAndCostHandler.GetPriceAndCostWall(); }
public Door(Point startPoint, Point endPoint, string sense, float width, float high, string name) { this.gridRepository = new GridRepository(); this.priceAndCostHandler = new PriceAndCostHandler(gridRepository); this.Width = width; this.Height = high; this.Name = name; this.sense = sense; this.direction = 0; this.StartPoint = startPoint; this.EndPoint = endPoint; }
public Window(Point startPoint, Point endPoint, string sense, float width, float high, float distanceFromGround, string name) { this.distanceFromGround = distanceFromGround; this.gridRepository = new GridRepository(); this.priceAndCostHandler = new PriceAndCostHandler(gridRepository); this.blueBrush = new SolidBrush(Color.Blue); this.width = width; this.high = high; this.name = name; this.sense = sense; this.StartPoint = startPoint; this.EndPoint = endPoint; }
public Grid(string gridName, Client client, int height, int width) { this.isDeleted = false; this.gridRepository = new GridRepository(); this.Walls = new List <Wall>(); this.WallBeams = new List <WallBeam>(); this.DecorativeColumns = new List <DecorativeColumn>(); this.Windows = new List <Window>(); this.Doors = new List <Door>(); this.GridName = gridName; this.Client = client; this.Height = height * PixelConvertor; this.Width = width * PixelConvertor; this.PRICE_AND_COST_HANDLER = new PriceAndCostHandler(gridRepository); this.GRID_HANDLER = new GridHandler(); this.WALLBEAM_HANDLER = new WallBeamHandler(gridRepository); this.WALL_HANDLER = new WallHandler(gridRepository); this.WINDOW_HANDLER = new WindowHandler(gridRepository); this.DECORATIVECOLUMN_HANDLER = new DecorativeColumnHandler(gridRepository); this.DOOR_HANDLER = new DoorHandler(gridRepository); }
public Grid() { this.isDeleted = false; this.gridRepository = new GridRepository(); this.PRICE_AND_COST_HANDLER = new PriceAndCostHandler(gridRepository); }