예제 #1
0
        public CoactingGUI()
        {
            InitializeComponent();

            treatments.Items.Add("");
            treatments.Items.Add("Efterpolering, simple");
            treatments.Items.Add("Stripning, HSS Ti, TIAL");
            treatments.Items.Add("Stripning, HSS CrN, Crosal");

            foreach (Coating c in CR.GetAllCoatings())
            {
                dropdown1.Items.Add(c.name);
                dropdown2.Items.Add(c.name);
                dropdown3.Items.Add(c.name);
                dropdown4.Items.Add(c.name);
                dropdown5.Items.Add(c.name);
            }

            tooltypes1.Items.Add(" ");
            foreach (ToolType tt in TTR.GetAllToolTypes())
            {
                tooltypes1.Items.Add(tt.Name);
            }

            steel = new Steel(PR);
        }
예제 #2
0
 public void CanAddToolTypesToRepository()
 {
     Assert.IsTrue(ToolTypeRepository.GetAllToolTypes().Count > 0);
 }