public ChangeLogViewer(IList <SRFChangelog> clData) { LayoutControl lc = new LayoutControl(); lc.Dock = DockStyle.Fill; // MemoEdit me = new MemoEdit(); // me.EditValue = changeLogData; // me.ReadOnly = true; RichEditControl re = new RichEditControl(); re.ActiveViewType = RichEditViewType.Simple; re.Views.SimpleView.AdjustColorsToSkins = true; SRInfo.Instance.SRChangeLog(re, clData); // re.Enabled = true; // re.ReadOnly = true; // re.Appearance.Text.ForeColor = Color.Brown; // re.ForeColor = Color.Crimson; // re.BackColor = Color.Gray; // re.LookAndFeel.ActiveLookAndFeel = UserLookAndFeel.Default; SeparatorControl separatorControl = new SeparatorControl(); lc.AddItem(String.Empty, re).TextVisible = false; this.Controls.Add(lc); this.Height = 200; this.Dock = DockStyle.Top; }
public LoginUserControl() { LayoutControl lc = new LayoutControl(); lc.Dock = DockStyle.Fill; DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle("Pumpkin"); TextEdit teLogin = new TextEdit(); TextEdit tePassword = new TextEdit(); tePassword.Properties.UseSystemPasswordChar = true; CheckEdit ceKeep = new CheckEdit() { Text = "Keep me signed in" }; SeparatorControl separatorControl = new SeparatorControl(); lc.AddItem(String.Empty, teLogin).TextVisible = false; lc.AddItem(String.Empty, tePassword).TextVisible = false; lc.AddItem(String.Empty, ceKeep); this.Controls.Add(lc); this.Height = 100; this.Dock = DockStyle.Top; }