public void SetupCustomListBox()
        {
            lbCustomNames.Items.Clear();

            //general items
            lbCustomNames.Items.Add(bufferBottleC);


            if (SeparatorResourceManager.isPlatformRS16())
            {
                lbCustomNames.Items.Add(bufferBottle34C);
                lbCustomNames.Items.Add(bufferBottle56C);
            }

            lbCustomNames.Items.Add(wasteTubeC);
            lbCustomNames.Items.Add(lysisBufferTubeC);
            lbCustomNames.Items.Add(selectionCocktailVialC);
            lbCustomNames.Items.Add(magneticParticleVialC);
            lbCustomNames.Items.Add(antibodyCocktailVialC);
            lbCustomNames.Items.Add(sampleTubeC);
            lbCustomNames.Items.Add(separationTubeC);


//			lbCustomNames.SelectedIndex = 0;
        }
        public void SetupListBox()
        {
            //TUBE NAMES SYNC
            lbDefaultNames.Items.Clear();

            //general items
            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.QuadrantBuffer));
            if (SeparatorResourceManager.isPlatformRS16())
            {
                lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.QuadrantBuffer34));
                lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.QuadrantBuffer56));
            }
            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.WasteTube));

            lbDefaultNames.Items.Add(SeparatorResourceManager.getLysisStringFromProtocolClass(protocolClass));

            /*
             * if ((protocolClass == ProtocolClass.Positive) || (protocolClass == ProtocolClass.HumanPositive) ||
             *      (protocolClass == ProtocolClass.MousePositive) || (protocolClass == ProtocolClass.WholeBloodPositive))
             *      lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.VialBpos));
             * else if ((protocolClass == ProtocolClass.Negative) || (protocolClass == ProtocolClass.HumanNegative) ||
             *      (protocolClass == ProtocolClass.MouseNegative) || (protocolClass == ProtocolClass.WholeBloodNegative))
             *      lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.VialBneg));
             * else
             *      lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.VialB));
             *
             * lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.VialA));
             * lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.VialC));
             */
            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.SampleTube));
            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.SeparationTube));


            lbDefaultNames.SelectedIndex = 0;
        }
        public void SetupListBox()
        {
            //TUBE NAMES SYNC
            lbDefaultNames.Items.Clear();

            //general items
            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.QuadrantBuffer));
            if (SeparatorResourceManager.isPlatformRS16())
            {
                lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.QuadrantBuffer34));
                lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.QuadrantBuffer56));
            }
            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.WasteTube));

            lbDefaultNames.Items.Add(SeparatorResourceManager.getLysisStringFromProtocolClass(protocolClass));

            lbDefaultNames.Items.Add(SeparatorResourceManager.getVialBStringFromProtocolClass(protocolClass));

            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.VialA));
            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.VialC));
            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.SampleTube));
            lbDefaultNames.Items.Add(SeparatorResourceManager.GetSeparatorString(StringId.SeparationTube));


            lbDefaultNames.SelectedIndex = 0;
            this.SetupCustomListBox();
        }
        public void UpdateMaxMixCycle()
        {
            this.cbxMixCycles.Items.Clear();
            int max_cycles = (SeparatorResourceManager.isPlatformRS16()) ? MAX_MIX_CYCLE_RS16 : MAX_MIX_CYCLE_RSS;

            for (int i = 0; i < max_cycles; i++)
            {
                this.cbxMixCycles.Items.Add(i + 1);
            }
            this.cbxMixCycles.SelectedIndex = 0;
        }