protected int CreateProfileManagementTabPage()
        {
            int     result  = 0;
            TabPage tabPage = FormTools.NewTabPage("配置管理");
            Label   label   = FormTools.NewLabel("配置", 0, result++);

            _credentialsListBox = new ListBox
            {
                Location = FormTools.NewLocation(0, result++),
                Size     = new Size(340, 200)
            };
            _credentialsListBox.KeyDown        += CredentialsListBox_KeyDown;
            _credentialsListBox.DoubleClick    += EditButton_Click;
            _credentialsListBox.VisibleChanged += CredentialsListBox_VisibleChanged;
            Button button = new Button();

            button.Text     = "添加";
            button.Location = new Point(_credentialsListBox.Right + 20, _credentialsListBox.Top);
            Button button2 = button;

            button2.Click += AddButton_Click;
            Button button3 = new Button();

            button3.Text     = "编辑";
            button3.Location = new Point(_credentialsListBox.Right + 20, button2.Bottom + 4);
            Button button4 = button3;

            button4.Click += EditButton_Click;
            Button button5 = new Button();

            button5.Text     = "删除";
            button5.Location = new Point(_credentialsListBox.Right + 20, button4.Bottom + 4);
            Button button6 = button5;

            button6.Click += DeleteButton_Click;
            tabPage.Controls.Add(label, _credentialsListBox, button2, button4, button6);
            tabPage.ResumeLayout();
            AddTabPage(tabPage);
            return(result);
        }