private void FastProfileLoad() { _projects = ProjectDao.Findfast(); foreach (Project project in _projects) { ButtonX button = new ButtonX(); button.Text = Tool.Encode.Decrypt(project.Pn); button.Style = eDotNetBarStyle.StyleManagerControlled; button.ColorTable = eButtonColor.OrangeWithBackground; button.Font = new Font("微软雅黑", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); button.AutoSize = true; button.Click += buttonFastProfile_Click; flowLayoutPanel_FastprofileBtn.Controls.Add(button); } }