Example #1
0
        public mnuBankOptions(string name)
            : base(name)
        {
            this.Size          = new Size(155, 88);
            this.MenuDirection = Enums.MenuDirection.Vertical;
            this.Location      = new Point(10, 40);

            itemPicker          = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(18, 23);

            lblDeposit            = new Label("lblDeposit");
            lblDeposit.AutoSize   = true;
            lblDeposit.Location   = new Point(30, 8);
            lblDeposit.Font       = FontManager.LoadFont("PMDCP", 32);
            lblDeposit.Text       = "Store";
            lblDeposit.HoverColor = Color.Red;
            lblDeposit.ForeColor  = Color.WhiteSmoke;
            lblDeposit.Click     += new EventHandler <SdlDotNet.Widgets.MouseButtonEventArgs>(lblDeposit_Click);

            lblWithdraw            = new Label("lblWithdraw");
            lblWithdraw.AutoSize   = true;
            lblWithdraw.Location   = new Point(30, 38);
            lblWithdraw.Font       = FontManager.LoadFont("PMDCP", 32);
            lblWithdraw.Text       = "Take";
            lblWithdraw.HoverColor = Color.Red;
            lblWithdraw.ForeColor  = Color.WhiteSmoke;
            lblWithdraw.Click     += new EventHandler <SdlDotNet.Widgets.MouseButtonEventArgs>(lblWithdraw_Click);


            this.AddWidget(itemPicker);
            this.AddWidget(lblDeposit);
            this.AddWidget(lblWithdraw);
        }
        public mnuBankOptions(string name)
            : base(name)
        {
            this.Size = new Size(155, 88);
            this.MenuDirection = Enums.MenuDirection.Vertical;
            this.Location = new Point(10, 40);

            itemPicker = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(18, 23);

            lblDeposit = new Label("lblDeposit");
            lblDeposit.AutoSize = true;
            lblDeposit.Location = new Point(30, 8);
            lblDeposit.Font = FontManager.LoadFont("PMU", 32);
            lblDeposit.Text = "Store";
            lblDeposit.HoverColor = Color.Red;
            lblDeposit.ForeColor = Color.WhiteSmoke;
            lblDeposit.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblDeposit_Click);

            lblWithdraw = new Label("lblWithdraw");
            lblWithdraw.AutoSize = true;
            lblWithdraw.Location = new Point(30, 38);
            lblWithdraw.Font = FontManager.LoadFont("PMU", 32);
            lblWithdraw.Text = "Take";
            lblWithdraw.HoverColor = Color.Red;
            lblWithdraw.ForeColor = Color.WhiteSmoke;
            lblWithdraw.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblWithdraw_Click);

            this.AddWidget(itemPicker);
            this.AddWidget(lblDeposit);
            this.AddWidget(lblWithdraw);
        }
Example #3
0
        public mnuShopOptions(string name)
            : base(name)
        {
            this.Size = new Size(155, 88);
            this.MenuDirection = Enums.MenuDirection.Vertical;
            this.Location = new Point(10, 40);

            itemPicker = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(18, 23);

            lblBuy = new Label("lblBuy");
            lblBuy.AutoSize = true;
            lblBuy.Location = new Point(30, 8);
            lblBuy.Font = FontManager.LoadFont("PMDCP", 32);
            lblBuy.Text = "Buy";
            lblBuy.HoverColor = Color.Red;
            lblBuy.ForeColor = Color.WhiteSmoke;
            lblBuy.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblBuy_Click);

            lblSell = new Label("lblSell");
            lblSell.AutoSize = true;
            lblSell.Location = new Point(30, 38);
            lblSell.Font = FontManager.LoadFont("PMDCP", 32);
            lblSell.Text = "Sell";
            lblSell.HoverColor = Color.Red;
            lblSell.ForeColor = Color.WhiteSmoke;
            lblSell.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblSell_Click);

            this.AddWidget(itemPicker);
            this.AddWidget(lblBuy);
            this.AddWidget(lblSell);
        }
Example #4
0
        public mnuShopOptions(string name)
            : base(name)
        {
            this.Size          = new Size(155, 88);
            this.MenuDirection = Enums.MenuDirection.Vertical;
            this.Location      = new Point(10, 40);

            itemPicker          = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(18, 23);

            lblBuy            = new Label("lblBuy");
            lblBuy.AutoSize   = true;
            lblBuy.Location   = new Point(30, 8);
            lblBuy.Font       = FontManager.LoadFont("PMDCP", 32);
            lblBuy.Text       = "Buy";
            lblBuy.HoverColor = Color.Red;
            lblBuy.ForeColor  = Color.WhiteSmoke;
            lblBuy.Click     += new EventHandler <SdlDotNet.Widgets.MouseButtonEventArgs>(lblBuy_Click);

            lblSell            = new Label("lblSell");
            lblSell.AutoSize   = true;
            lblSell.Location   = new Point(30, 38);
            lblSell.Font       = FontManager.LoadFont("PMDCP", 32);
            lblSell.Text       = "Sell";
            lblSell.HoverColor = Color.Red;
            lblSell.ForeColor  = Color.WhiteSmoke;
            lblSell.Click     += new EventHandler <SdlDotNet.Widgets.MouseButtonEventArgs>(lblSell_Click);


            this.AddWidget(itemPicker);
            this.AddWidget(lblBuy);
            this.AddWidget(lblSell);
        }
        public mnuMissionBoard(string name, string[] parse)
            : base(name)
        {
            base.Size          = new Size(280, 460);
            base.MenuDirection = Enums.MenuDirection.Vertical;
            base.Location      = new Point(15, 10);

            itemPicker          = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(20, 64);

            lblJobList           = new Label("lblJobList");
            lblJobList.AutoSize  = true;
            lblJobList.Font      = FontManager.LoadFont("PMDCP", 48);
            lblJobList.ForeColor = Color.WhiteSmoke;
            lblJobList.Text      = "Missions";
            lblJobList.Location  = new Point(20, 0);

            lblLoading           = new Label("lblLoading");
            lblLoading.Location  = new Point(10, 50);
            lblLoading.Font      = FontManager.LoadFont("PMDCP", 16);
            lblLoading.AutoSize  = true;
            lblLoading.Text      = "Loading...";
            lblLoading.ForeColor = Color.WhiteSmoke;

            items = new MissionTitle[8];
            int lastY = 58;

            for (int i = 0; i < items.Length; i++)
            {
                items[i]          = new MissionTitle("item" + i, this.Width);
                items[i].Location = new Point(15, lastY);


                this.AddWidget(items[i]);

                lastY += items[i].Height + 8;
            }

            this.AddWidget(itemPicker);
            this.AddWidget(lblJobList);
            //this.AddWidget(lblLoading);

            LoadMissionsFromPacket(parse);
        }
Example #6
0
        public mnuMissionBoard(string name, string[] parse)
            : base(name)
        {
            base.Size = new Size(280, 460);
            base.MenuDirection = Enums.MenuDirection.Vertical;
            base.Location = new Point(15, 10);

            itemPicker = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(20, 64);

            lblJobList = new Label("lblJobList");
            lblJobList.AutoSize = true;
            lblJobList.Font = FontManager.LoadFont("PMDCP", 48);
            lblJobList.ForeColor = Color.WhiteSmoke;
            lblJobList.Text = "Missions";
            lblJobList.Location = new Point(20, 0);

            lblLoading = new Label("lblLoading");
            lblLoading.Location = new Point(10, 50);
            lblLoading.Font = FontManager.LoadFont("PMDCP", 16);
            lblLoading.AutoSize = true;
            lblLoading.Text = "Loading...";
            lblLoading.ForeColor = Color.WhiteSmoke;

            items = new MissionTitle[8];
            int lastY = 58;

            for (int i = 0; i < items.Length; i++) {
                items[i] = new MissionTitle("item" + i, this.Width);
                items[i].Location = new Point(15, lastY);

                this.AddWidget(items[i]);

                lastY += items[i].Height + 8;

            }

            this.AddWidget(itemPicker);
            this.AddWidget(lblJobList);
            //this.AddWidget(lblLoading);

            LoadMissionsFromPacket(parse);
        }
Example #7
0
        public mnuJobList(string name)
            : base(name)
        {
            base.Size          = new Size(280, 460);
            base.MenuDirection = Enums.MenuDirection.Vertical;
            base.Location      = new Point(15, 10);

            itemPicker          = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(20, 64);

            lblJobList           = new Label("lblJobList");
            lblJobList.AutoSize  = true;
            lblJobList.Font      = FontManager.LoadFont("PMU", 48);
            lblJobList.ForeColor = Color.WhiteSmoke;
            lblJobList.Text      = "Job List";
            lblJobList.Location  = new Point(20, 0);

            items = new MissionTitle[8];
            int lastY = 58;

            for (int i = 0; i < items.Length; i++)
            {
                items[i]          = new MissionTitle("item" + i, this.Width);
                items[i].Location = new Point(15, lastY);

                if (Players.PlayerManager.MyPlayer.JobList.Jobs.Count > i)
                {
                    items[i].SetJob(Players.PlayerManager.MyPlayer.JobList.Jobs[i]);
                }
                else
                {
                    items[i].SetJob(null);
                }

                this.AddWidget(items[i]);

                lastY += items[i].Height + 8;
            }

            this.AddWidget(itemPicker);
            this.AddWidget(lblJobList);
        }
Example #8
0
        public mnuJobList(string name)
            : base(name)
        {
            base.Size = new Size(280, 460);
            base.MenuDirection = Enums.MenuDirection.Vertical;
            base.Location = new Point(15, 10);

            itemPicker = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(20, 64);

            lblJobList = new Label("lblJobList");
            lblJobList.AutoSize = true;
            lblJobList.Font = FontManager.LoadFont("PMDCP", 48);
            lblJobList.ForeColor = Color.WhiteSmoke;
            lblJobList.Text = "Job List";
            lblJobList.Location = new Point(20, 0);

            items = new MissionTitle[8];
            int lastY = 58;
            for (int i = 0; i < items.Length; i++) {
                items[i] = new MissionTitle("item" + i, this.Width);
                items[i].Location = new Point(15, lastY);

                if (Players.PlayerManager.MyPlayer.JobList.Jobs.Count > i) {
                    items[i].SetJob(Players.PlayerManager.MyPlayer.JobList.Jobs[i]);
                } else {
                    items[i].SetJob(null);
                }

                this.AddWidget(items[i]);

                lastY += items[i].Height + 8;
            }

            this.AddWidget(itemPicker);
            this.AddWidget(lblJobList);
        }
Example #9
0
        public mnuMainMenu(string name)
            : base(name)
        {
            this.Size = new Size(135, 178);
            this.MenuDirection = Enums.MenuDirection.Vertical;
            this.Location = new Point(10, 40);

            itemPicker = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(18, 23);

            lblMoves = new Label("lblMoves");
            lblMoves.AutoSize = true;
            lblMoves.Location = new Point(30, 8);
            lblMoves.Font = FontManager.LoadFont("PMU", 32);
            lblMoves.Text = "Moves";
            lblMoves.HoverColor = Color.Red;
            lblMoves.ForeColor = Color.WhiteSmoke;
            lblMoves.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblMoves_Click);

            lblItems = new Label("lblItems");
            lblItems.AutoSize = true;
            lblItems.Location = new Point(30, 38);
            lblItems.Font = FontManager.LoadFont("PMU", 32);
            lblItems.Text = "Items";
            lblItems.HoverColor = Color.Red;
            lblItems.ForeColor = Color.WhiteSmoke;
            lblItems.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblItems_Click);

            lblTeam = new Label("lblTeam");
            lblTeam.AutoSize = true;
            lblTeam.Location = new Point(30, 68);
            lblTeam.Font = FontManager.LoadFont("PMU", 32);
            lblTeam.Text = "Team";
            lblTeam.HoverColor = Color.Red;
            lblTeam.ForeColor = Color.WhiteSmoke;
            lblTeam.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblTeam_Click);

            //lblGuild = new Label("lblGuild");
            //lblGuild.AutoSize = true;
            //lblGuild.Location = new Point(30, 98);
            //lblGuild.Font = FontManager.LoadFont("PMU", 32);
            //lblGuild.Text = "Guild";
            //lblGuild.HoverColor = Color.Red;
            //lblGuild.ForeColor = Color.WhiteSmoke;
            //lblGuild.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblGuild_Click);

            lblJobList = new Label("lblJobList");
            lblJobList.AutoSize = true;
            lblJobList.Location = new Point(30, 98);
            lblJobList.Font = FontManager.LoadFont("PMU", 32);
            lblJobList.Text = "Job List";
            lblJobList.HoverColor = Color.Red;
            lblJobList.ForeColor = Color.WhiteSmoke;
            lblJobList.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblJobList_Click);

            lblOthers = new Label("lblOthers");
            lblOthers.AutoSize = true;
            lblOthers.Location = new Point(30, 128);
            lblOthers.Font = FontManager.LoadFont("PMU", 32);
            lblOthers.Text = "Others";
            lblOthers.HoverColor = Color.Red;
            lblOthers.ForeColor = Color.WhiteSmoke;
            lblOthers.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblOthers_Click);

            this.AddWidget(itemPicker);
            this.AddWidget(lblMoves);
            this.AddWidget(lblItems);
            this.AddWidget(lblTeam);
            //this.AddWidget(lblGuild);
            this.AddWidget(lblJobList);
            this.AddWidget(lblOthers);
        }
Example #10
0
        public mnuMainMenu(string name)
            : base(name)
        {
            this.Size          = new Size(135, 178);
            this.MenuDirection = Enums.MenuDirection.Vertical;
            this.Location      = new Point(10, 40);

            itemPicker          = new Logic.Widgets.MenuItemPicker("itemPicker");
            itemPicker.Location = new Point(18, 23);

            lblMoves            = new Label("lblMoves");
            lblMoves.AutoSize   = true;
            lblMoves.Location   = new Point(30, 8);
            lblMoves.Font       = FontManager.LoadFont("PMDCP", 32);
            lblMoves.Text       = "Moves";
            lblMoves.HoverColor = Color.Red;
            lblMoves.ForeColor  = Color.WhiteSmoke;
            lblMoves.Click     += new EventHandler <SdlDotNet.Widgets.MouseButtonEventArgs>(lblMoves_Click);

            lblItems            = new Label("lblItems");
            lblItems.AutoSize   = true;
            lblItems.Location   = new Point(30, 38);
            lblItems.Font       = FontManager.LoadFont("PMDCP", 32);
            lblItems.Text       = "Items";
            lblItems.HoverColor = Color.Red;
            lblItems.ForeColor  = Color.WhiteSmoke;
            lblItems.Click     += new EventHandler <SdlDotNet.Widgets.MouseButtonEventArgs>(lblItems_Click);

            lblTeam            = new Label("lblTeam");
            lblTeam.AutoSize   = true;
            lblTeam.Location   = new Point(30, 68);
            lblTeam.Font       = FontManager.LoadFont("PMDCP", 32);
            lblTeam.Text       = "Team";
            lblTeam.HoverColor = Color.Red;
            lblTeam.ForeColor  = Color.WhiteSmoke;
            lblTeam.Click     += new EventHandler <SdlDotNet.Widgets.MouseButtonEventArgs>(lblTeam_Click);

            //lblGuild = new Label("lblGuild");
            //lblGuild.AutoSize = true;
            //lblGuild.Location = new Point(30, 98);
            //lblGuild.Font = FontManager.LoadFont("PMDCP", 32);
            //lblGuild.Text = "Guild";
            //lblGuild.HoverColor = Color.Red;
            //lblGuild.ForeColor = Color.WhiteSmoke;
            //lblGuild.Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(lblGuild_Click);

            lblJobList            = new Label("lblJobList");
            lblJobList.AutoSize   = true;
            lblJobList.Location   = new Point(30, 98);
            lblJobList.Font       = FontManager.LoadFont("PMDCP", 32);
            lblJobList.Text       = "Job List";
            lblJobList.HoverColor = Color.Red;
            lblJobList.ForeColor  = Color.WhiteSmoke;
            lblJobList.Click     += new EventHandler <SdlDotNet.Widgets.MouseButtonEventArgs>(lblJobList_Click);

            lblOthers            = new Label("lblOthers");
            lblOthers.AutoSize   = true;
            lblOthers.Location   = new Point(30, 128);
            lblOthers.Font       = FontManager.LoadFont("PMDCP", 32);
            lblOthers.Text       = "Others";
            lblOthers.HoverColor = Color.Red;
            lblOthers.ForeColor  = Color.WhiteSmoke;
            lblOthers.Click     += new EventHandler <SdlDotNet.Widgets.MouseButtonEventArgs>(lblOthers_Click);

            this.AddWidget(itemPicker);
            this.AddWidget(lblMoves);
            this.AddWidget(lblItems);
            this.AddWidget(lblTeam);
            //this.AddWidget(lblGuild);
            this.AddWidget(lblJobList);
            this.AddWidget(lblOthers);
        }
Example #11
0
        public mnuAssembly(string name, string[] parse)
            : base(name)
        {
            this.Size          = new Size(315, 450);
            this.MenuDirection = Enums.MenuDirection.Vertical;
            this.Location      = new Point(10, 20);

            currentTen = 0;

            team = new int[4];

            recruitList  = new List <Players.Recruit>();
            recruitIndex = new List <int>();

            itemPicker = new Logic.Widgets.MenuItemPicker("itemPicker");


            lblAssembly           = new Label("lblAssembly");
            lblAssembly.AutoSize  = true;
            lblAssembly.Font      = FontManager.LoadFont("PMU", 48);
            lblAssembly.Text      = "Assembly";
            lblAssembly.Location  = new Point(20, 0);
            lblAssembly.ForeColor = Color.WhiteSmoke;

            lblRecruitNum = new Label("lblRecruitNum");
            //lblItemNum.Size = new Size(100, 30);
            lblRecruitNum.AutoSize  = true;
            lblRecruitNum.Location  = new Point(222, 14);
            lblRecruitNum.Font      = FontManager.LoadFont("PMU", 32);
            lblRecruitNum.BackColor = Color.Transparent;
            lblRecruitNum.Text      = "0/0";
            lblRecruitNum.ForeColor = Color.WhiteSmoke;

            txtFind          = new TextBox("txtFind");
            txtFind.Size     = new Size(130, 20);
            txtFind.Location = new Point(32, 48);
            txtFind.Font     = FontManager.LoadFont("PMU", 16);
            Skins.SkinManager.LoadTextBoxGui(txtFind);

            btnFind          = new Button("btnFind");
            btnFind.Size     = new System.Drawing.Size(40, 20);
            btnFind.Location = new Point(174, 48);
            btnFind.Font     = Client.Logic.Graphics.FontManager.LoadFont("PMU", 16);
            btnFind.Text     = "Find";
            Skins.SkinManager.LoadButtonGui(btnFind);
            btnFind.Click += new EventHandler <MouseButtonEventArgs>(btnFind_Click);

            picMugshot           = new PictureBox("picMugshot");
            picMugshot.Size      = new Size(40, 40);
            picMugshot.BackColor = Color.Transparent;
            picMugshot.Location  = new Point(35, 76);

            lblName           = new Label("lblName");
            lblName.AutoSize  = true;
            lblName.Centered  = true;
            lblName.Font      = FontManager.LoadFont("PMU", 16);
            lblName.ForeColor = Color.WhiteSmoke;
            lblName.Location  = new Point(75, 76);

            lblLevel           = new Label("lblLevel");
            lblLevel.AutoSize  = true;
            lblLevel.Centered  = true;
            lblLevel.Font      = FontManager.LoadFont("PMU", 16);
            lblLevel.ForeColor = Color.WhiteSmoke;
            lblLevel.Location  = new Point(75, 96);

            lblAllRecruits = new Label[10];
            for (int i = 0; i < 10; i++)
            {
                lblAllRecruits[i] = new Label("lblAllRecruits" + i);
                //lblAllRecruits[i].AutoSize = true;
                //lblAllRecruits[i].Centered = true;
                lblAllRecruits[i].Width = 200;
                lblAllRecruits[i].Font  = FontManager.LoadFont("PMU", 32);

                lblAllRecruits[i].Location = new Point(35, (i * 30) + 114);
                //lblAllRecruits[i].HoverColor = Color.Red;
                //lblAllRecruits[i].Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(assemblyItem_Click);
                this.AddWidget(lblAllRecruits[i]);
            }

            LoadRecruitsFromPacket(parse);

            this.AddWidget(itemPicker);
            this.AddWidget(txtFind);
            this.AddWidget(btnFind);
            this.AddWidget(lblAssembly);
            this.AddWidget(lblRecruitNum);
            this.AddWidget(picMugshot);
            this.AddWidget(lblName);
            this.AddWidget(lblLevel);

            FindMaxItems();
            DisplayRecruitList();
            UpdateSelectedRecruitInfo();
            ChangeSelected(0);
        }
Example #12
0
        public mnuAssembly(string name, string[] parse)
            : base(name)
        {
            this.Size = new Size(315, 450);
            this.MenuDirection = Enums.MenuDirection.Vertical;
            this.Location = new Point(10, 20);

            currentTen = 0;

            team = new int[4];

            recruitList = new List<Players.Recruit>();
            recruitIndex = new List<int>();

            itemPicker = new Logic.Widgets.MenuItemPicker("itemPicker");

            lblAssembly = new Label("lblAssembly");
            lblAssembly.AutoSize = true;
            lblAssembly.Font = FontManager.LoadFont("PMDCP", 48);
            lblAssembly.Text = "Assembly";
            lblAssembly.Location = new Point(20, 0);
            lblAssembly.ForeColor = Color.WhiteSmoke;

            lblRecruitNum = new Label("lblRecruitNum");
            //lblItemNum.Size = new Size(100, 30);
            lblRecruitNum.AutoSize = true;
            lblRecruitNum.Location = new Point(222, 14);
            lblRecruitNum.Font = FontManager.LoadFont("PMDCP", 32);
            lblRecruitNum.BackColor = Color.Transparent;
            lblRecruitNum.Text = "0/0";
            lblRecruitNum.ForeColor = Color.WhiteSmoke;

            txtFind = new TextBox("txtFind");
            txtFind.Size = new Size(130, 20);
            txtFind.Location = new Point(32, 48);
            txtFind.Font = FontManager.LoadFont("PMDCP", 16);
            Skins.SkinManager.LoadTextBoxGui(txtFind);

            btnFind = new Button("btnFind");
            btnFind.Size = new System.Drawing.Size(40, 20);
            btnFind.Location = new Point(174, 48);
            btnFind.Font = Client.Logic.Graphics.FontManager.LoadFont("PMDCP", 16);
            btnFind.Text = "Find";
            Skins.SkinManager.LoadButtonGui(btnFind);
            btnFind.Click += new EventHandler<MouseButtonEventArgs>(btnFind_Click);

            picMugshot = new PictureBox("picMugshot");
            picMugshot.Size = new Size(40, 40);
            picMugshot.BackColor = Color.Transparent;
            picMugshot.Location = new Point(35, 76);

            lblName = new Label("lblName");
            lblName.AutoSize = true;
            lblName.Centered = true;
            lblName.Font = FontManager.LoadFont("PMDCP", 16);
            lblName.ForeColor = Color.WhiteSmoke;
            lblName.Location = new Point(75, 76);

            lblLevel = new Label("lblLevel");
            lblLevel.AutoSize = true;
            lblLevel.Centered = true;
            lblLevel.Font = FontManager.LoadFont("PMDCP", 16);
            lblLevel.ForeColor = Color.WhiteSmoke;
            lblLevel.Location = new Point(75, 96);

            lblAllRecruits = new Label[10];
            for (int i = 0; i < 10; i++) {

                lblAllRecruits[i] = new Label("lblAllRecruits" + i);
                //lblAllRecruits[i].AutoSize = true;
                //lblAllRecruits[i].Centered = true;
                lblAllRecruits[i].Width = 200;
                lblAllRecruits[i].Font = FontManager.LoadFont("PMDCP", 32);

                lblAllRecruits[i].Location = new Point(35, (i * 30) + 114);
                //lblAllRecruits[i].HoverColor = Color.Red;
                //lblAllRecruits[i].Click += new EventHandler<SdlDotNet.Widgets.MouseButtonEventArgs>(assemblyItem_Click);
                this.AddWidget(lblAllRecruits[i]);

            }

            LoadRecruitsFromPacket(parse);

            this.AddWidget(itemPicker);
            this.AddWidget(txtFind);
            this.AddWidget(btnFind);
            this.AddWidget(lblAssembly);
            this.AddWidget(lblRecruitNum);
            this.AddWidget(picMugshot);
            this.AddWidget(lblName);
            this.AddWidget(lblLevel);

            FindMaxItems();
            DisplayRecruitList();
            UpdateSelectedRecruitInfo();
            ChangeSelected(0);
        }