public ProtocolFeatureSwitch()
        {
            InitializeComponent();

            // Get a local reference to the protocol model.
            theProtocolModel = ProtocolModel.GetInstance();
        }
Beispiel #2
0
        public ProtocolMultipleSamples()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();

            // Get a local reference to the protocol model.
            theProtocolModel = ProtocolModel.GetInstance();
        }
        public ProtocolResultVialSelection()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            theProtocolModel = ProtocolModel.GetInstance();

            results = new resultVialChecks();
        }
        public ProtocolReagentBarcodes()
        {
            InitializeComponent();

            // Get a local reference to the protocol model.
            theProtocolModel = ProtocolModel.GetInstance();

            tipDefaultName.SetToolTip(this.lbDefaultNames, "Select the vial name to add/edit barcode.");
            tipNewName.SetToolTip(this.txtCustomName, "Type the barcode desired for selected vial.");

            myUsedReagentVialList = new List <AbsoluteResourceLocation>();
        }
        public ProtocolCustomize()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            // Get a local reference to the protocol model.
            theProtocolModel = ProtocolModel.GetInstance();

            tipDefaultName.SetToolTip(this.lbDefaultNames, "Select the default vial name to change.");
            tipNewName.SetToolTip(this.txtCustomName, "Type the custom name desired for selected default name.");
        }
        public AboutThisProtocolWindow()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            theProtocolModel = ProtocolModel.GetInstance();

            // set data in textboxes
            txtCreationDate.Text = "" + theProtocolModel.ProtocolCreationDate;

            if (theProtocolModel.ProtocolModificationDateIsSpecified)
            {
                txtModificationDate.Text = "" + theProtocolModel.ProtocolModificationDate;
            }
            else
            {
                txtModificationDate.Text = string.Empty;
            }
            txtProtocolVersion.Text = "" + theProtocolModel.ProtocolVersion;

            txtProtocolAuthor.Text = "" + theProtocolModel.ProtocolAuthor;
            ProtocolNum1.Text      = "" + theProtocolModel.ProtocolNumber1;
            ProtocolNum2.Text      = "" + theProtocolModel.ProtocolNumber2;

            VersionManager VerMgr = VersionManager.GetInstance();

            /*
             * if ((VerMgr.InputVersions[0] == 0)||(VerMgr.InputVersions[1] == 0))
             * {
             *      lblRoboSep.Text = "RoboSep Protocol Editor Ver: N/A";
             *
             * }
             * else
             * {
             * lblRoboSep.Text = "RoboSep Protocol Editor Ver: " +
             *              VerMgr.InputVersions[0].ToString() + "." +
             *              VerMgr.InputVersions[1].ToString() + "." +
             *              VerMgr.InputVersions[2].ToString() + "." +
             *              VerMgr.InputVersions[3].ToString();
             * }
             */
        }