public void LoadForm(string CardModel, string CardRevision, string cardSerial)
        {
            switch (CardModel + CardRevision)
            {
                // Smart Sim Tech 30 Input Cards
                case "SST30IBeta":
                    Boards.SST30I.Beta.frmSST30IBeta SST30IBeta = new Boards.SST30I.Beta.frmSST30IBeta();
                    SST30IBeta.MdiParent = this;
                    SST30IBeta.ParentFrm = this;
                    SST30IBeta.CardSerialNumber = Convert.ToInt32(cardSerial);
                    SST30IBeta.Show();
                    break;

                case "SST30IR1":
                    Boards.SST30I.Rev1.frmSST30IR1 SST30IR1 = new Boards.SST30I.Rev1.frmSST30IR1();
                    SST30IR1.MdiParent = this;
                    SST30IR1.CardSerialNumber = Convert.ToInt32(cardSerial);
                    SST30IR1.Show();
                    break;

                default:
                    break;
            }
        }
        private void LoadChildrenForms()
        {
            XPView cards = new XPView(Session.DefaultSession, typeof(Database.Cards));
            cards.AddProperty("Model", "CardModel");
            cards.AddProperty("Rev", "CardRevision");
            cards.AddProperty("Serial", "CardSerialNumber");
            foreach (ViewRecord record in cards)
            {
                switch ((string)record["Model"] + (string)record["Rev"])
                {
                    // Smart Sim Tech 30 Input Cards
                    case "SST30IBeta":
                        Boards.SST30I.Beta.frmSST30IBeta SST30IBeta = new Boards.SST30I.Beta.frmSST30IBeta();
                        SST30IBeta.MdiParent = this;
                        SST30IBeta.ParentFrm = this;
                        SST30IBeta.CardSerialNumber = (int)record["Serial"];
                        SST30IBeta.Show();
                        break;

                    case "SST30IR1":
                        Boards.SST30I.Rev1.frmSST30IR1 SST30IR1 = new Boards.SST30I.Rev1.frmSST30IR1();
                        SST30IR1.MdiParent = this;
                        SST30IR1.CardSerialNumber = (int)record["Serial"];
                        SST30IR1.Show();
                        break;

                    default:
                        break;
                }
            }
        }