private void AddBox_Click(object sender, EventArgs e) { wardrobe.AddBox(36); part = wardrobe.Visual_part; view = "front"; TestVisualPart(view); }
private void M_addbox_Click(object sender, EventArgs e) { if (DbCatalog.DbGetHeightOpt(0, wardrobe.Dimensions.Y).Count == 0 || wardrobe.Components["Etage"].Count == 7) { return; } wardrobe.AddBox(36); Preset(); }