using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using CareFusion.Mosaic.Interfaces.Types.Packs;

namespace StorageSystemSimulator
{
    public partial class FormSelectPackShape : Form
    {
        public FormSelectPackShape(PackShape selectedShape)
        {
            InitializeComponent();
            this.radioButtonCuboid.Checked = selectedShape == PackShape.Cuboid;
            this.radioButtonCylinder.Checked = selectedShape == PackShape.Cylinder;
        }

        public PackShape GetSelectedShape()
        {
            return this.radioButtonCuboid.Checked ? PackShape.Cuboid : PackShape.Cylinder;
        }
    }
}
