private void cboSkinList_SelectedIndexChanged(object sender, EventArgs e) { if (typeof(DefaultShellXtraForm).IsAssignableFrom(this.GetType()) == true) { this.ApplicationMenuPart.Visible = false; } DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName = cboSkinList.SelectedItem as string; this.ContentPart.BackColor = DevExpress.Skins.SkinManager.Default.Skins[DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName].CommonSkin.Colors["Control"]; this.ContentPart.BorderStyle = BorderStyle.FixedSingle; this.MainToolStripPanel.BackColor = DevExpress.Skins.SkinManager.Default.Skins[DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName].CommonSkin.Colors["Control"]; this.MainToolStripPanel.ForeColor = DevExpress.Skins.SkinManager.Default.Skins[DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName].CommonSkin.Colors["ControlText"]; //TreeView treeView = this.ContentPart.Controls[0].Controls[3].Controls[1].Controls[2].Controls[0].Controls[0].Controls[1].Controls[2].Controls[0].Controls[0].Controls[0] as TreeView; //if (treeView != null) //{ // treeView.BackColor = DevExpress.Skins.SkinManager.Default.Skins[DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName].CommonSkin.Colors["Control"]; // treeView.ForeColor = DevExpress.Skins.SkinManager.Default.Skins[DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName].CommonSkin.Colors["ControlText"]; //} foreach (Control control in MainToolStripPanel.Controls) { control.BackColor = DevExpress.Skins.SkinManager.Default.Skins[DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName].CommonSkin.Colors["Control"]; control.ForeColor = DevExpress.Skins.SkinManager.Default.Skins[DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName].CommonSkin.Colors["ControlText"]; } currentSkin = DevExpress.Skins.CommonSkins.GetSkin(UserLookAndFeel.Default); Color mainStatusBarBackColor = currentSkin.Properties.GetColor("MainStatusBarBackColor"); if (!mainStatusBarBackColor.IsEmpty) this.MainStatusBar.BackColor = mainStatusBarBackColor; // ToolStrip 배경이미지 적용 Image toolStripBackgroundImage = null; //if (currentSkin.Name == "GBFWSkinGreen") // toolStripBackgroundImage = Properties.Resources.ICON_bar1; //else if (currentSkin.Name == "GBFWSkinBlue") // toolStripBackgroundImage = Properties.Resources.ICON_bar2; toolStripBackgroundImage = Properties.Resources.ICON_bar; ToolStrip toolStripFix = (ToolStrip)this.Controls.Find("Fix", true)[0]; ToolStrip toolStripChange = (ToolStrip)this.Controls.Find("Change", true)[0]; this.MainToolStripPanel.BackgroundImage = toolStripBackgroundImage; this.Extension.BackgroundImage = toolStripBackgroundImage; toolStripFix.BackgroundImage = toolStripBackgroundImage; toolStripChange.BackgroundImage = toolStripBackgroundImage; }
protected override void InitializeGUI(DevExpress.Skins.Skin skin) { base.InitializeGUI(skin); lstExecuteResult.ImageList = ThemeUtils.Image16; //var field = FieldUtils.GetModuleFieldsByName(ModuleInfo.ModuleID, "AMARCODE")[0]; //lbTitle.Text = Language.Title + field.FieldID.ToString(); }
protected override void InitializeGUI(DevExpress.Skins.Skin skin) { base.InitializeGUI(skin); if (StatisticsInfo.FullWidth == CODES.MODSEARCH.FULLWIDTH.YES) { gvMain.OptionsView.ColumnAutoWidth = true; } }
private void button1_Click(object sender, System.EventArgs e) { if (skinCustomizationForm == null || skinCustomizationForm.IsDisposed) { DevExpress.Skins.Skin skin = DevExpress.Skins.SchedulerSkins.GetSkin(schedulerControl1.LookAndFeel); skinCustomizationForm = new SkinCustomizationForm(skin, schedulerControl1); } if (!skinCustomizationForm.Visible) { skinCustomizationForm.Show(this); } }
protected override void InitializeGUI(DevExpress.Skins.Skin skin) { base.InitializeGUI(skin); StatusLed = new BarButtonItem { Alignment = BarItemLinkAlignment.Left, Glyph = ThemeUtils.Image16.Images[Language.Icon], PaintStyle = BarItemPaintStyle.CaptionGlyph }; StatusLed.ItemClick += StatusLed_ItemClick; MainProcess.RegisterButton(StatusLed); }
private void Complete(IAsyncResult results) { if (!this.IsDisposed) { if (this.InvokeRequired) { this.Invoke(new cWaitWindow.MethodInvoker <IAsyncResult>(this.Complete), results); } else { // Capture the result try { this._Result = ((FunctionInvoker <object>)results.AsyncState).EndInvoke(results); if (_ProcessFailure) { } else { this.progressPanel1.Caption = "Completed"; DevExpress.Skins.Skin commonSkin = DevExpress.Skins.CommonSkins.GetSkin(DevExpress.LookAndFeel.UserLookAndFeel.Default.ActiveLookAndFeel); DevExpress.Skins.SkinElement loadingBig = commonSkin["LoadingBig"]; loadingBig.Image.SetImage(Properties.Resources.State_Validation_Valid_48x48, Color.Empty); loadingBig.Properties.RemoveProperty(DevExpress.Skins.CommonSkins.OptFrameCount); loadingBig.Properties.RemoveProperty(DevExpress.Skins.CommonSkins.OptFrameDelay); DevExpress.LookAndFeel.LookAndFeelHelper.ForceDefaultLookAndFeelChanged(); } this.progressPanel1.Description = string.Empty; //this.progressPanel1. //this.progressPanel1. layoutpnlButtons.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always; Form owner = Application.OpenForms.Cast <Form>().FirstOrDefault(f => f.Name == "frmMain"); this.Location = new Point(owner.Location.X + owner.Width / 2 - this.Width / 2, owner.Location.Y + owner.Height / 2 - this.Height / 2); this.UseWaitCursor = false; } catch (Exception ex) { // Grab the Exception for rethrowing after the WaitWindow has closed. this._Error = ex; } } } }
public mgDevX_ProgressBarControl() : base() { // Set some of the basic properties this.ForeColor = Color.White; this.Font = new Font(this.Font.Name, this.Font.Size, FontStyle.Bold); // Set some of the skinning on the control DevExpress.Skins.Skin currentSkin = null; DevExpress.Skins.SkinElement element, elementBackground, emptyTextColor, filledTextColor; DevExpress.LookAndFeel.DefaultLookAndFeel df = new DevExpress.LookAndFeel.DefaultLookAndFeel(); df.LookAndFeel.SkinName = "Black"; currentSkin = DevExpress.Skins.EditorsSkins.GetSkin(df.LookAndFeel); element = currentSkin[DevExpress.Skins.EditorsSkins.SkinProgressChunk]; elementBackground = currentSkin[DevExpress.Skins.EditorsSkins.SkinProgressBorder]; //emptyTextColor = currentSkin[DevExpress.Skins.EditorsSkins.SkinProgressBarEmptyTextColor]; //filledTextColor = currentSkin[DevExpress.Skins.EditorsSkins.SkinProgressBarFilledTextColor]; element.Color.BackColor = Color.DarkGreen; element.Color.BackColor2 = Color.LimeGreen; element.Color.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; elementBackground.Color.BackColor = Color.Black; elementBackground.Color.BackColor2 = Color.DarkGray; elementBackground.Color.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; // Don't set the empty at this time //empty //filledTextColor.Color.ForeColor = Color.White; currentSkin.Colors["ProgressBarEmptyTextColor"] = Color.White; currentSkin.Colors["ProgressBarFilledTextColor"] = Color.White; if (element.Image.Image != null) { element.Image.Image = null; } if (elementBackground.Image.Image != null) { elementBackground.Image.Image = null; } }
public MyInplaceEditor(SchedulerInplaceEditorEventArgs inplaceEditorArgs) { InitializeComponent(); this.Text = string.Empty; this.ControlBox = false; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.FormBorderEffect = DevExpress.XtraEditors.FormBorderEffect.None; SubscribeKeyDownEvents(); this.control = inplaceEditorArgs.Control; if (inplaceEditorArgs.UseFullCellEditor) { this.Bounds = control.RectangleToScreen(inplaceEditorArgs.Bounds); DevExpress.Skins.Skin currentSkin = DevExpress.Skins.SchedulerSkins.GetSkin(control.LookAndFeel); DevExpress.Skins.SkinElement element = currentSkin[DevExpress.Skins.SchedulerSkins.SkinAllDayAreaSelected]; this.BackColor = element.Color.BackColor; this.ForeColor = Color.White; } else { this.Bounds = AdjustEditorBounds(inplaceEditorArgs.Bounds); this.BackColor = inplaceEditorArgs.BackColor; } }
protected override void DrawContent(DevExpress.Utils.Drawing.GraphicsCache graphicsCache, DevExpress.Skins.Skin skin) { base.DrawContent(graphicsCache, skin); MyAlertInfo alertInfo = Owner.Info as MyAlertInfo; if (alertInfo != null) { Color backColor = alertInfo.BackColor; Rectangle rect = new Rectangle(Owner.ClientRectangle.Location, Owner.ClientRectangle.Size); rect.Inflate(-2, -2); using (SolidBrush brush = new SolidBrush(backColor)) graphicsCache.Graphics.FillRectangle(brush, rect); } }
/// <summary> /// Set the layout back color /// </summary> private void SetLayoutBackColor() { DevExpress.Skins.Skin currentSkin = null; DevExpress.Skins.Skin tabSkin = null; DevExpress.Skins.Skin navBarSkin = null; DevExpress.Skins.Skin formSkin = null; DevExpress.Skins.SkinElement elementForm, elementPanel, elementPanelNoBorder, layoutItem; DevExpress.Skins.SkinElement panelBottom, panelTop, panelLeft, panelRight; DevExpress.Skins.SkinElement layoutItemPadding, layoutGroupPadding, layoutRootGroupPadding; DevExpress.Skins.SkinElement layoutGroupWithoutBordersPadding, layoutRootGroupWithoutBordersPadding; DevExpress.LookAndFeel.DefaultLookAndFeel df = new DevExpress.LookAndFeel.DefaultLookAndFeel(); df.LookAndFeel.SkinName = "Black"; currentSkin = DevExpress.Skins.CommonSkins.GetSkin(df.LookAndFeel); tabSkin = DevExpress.Skins.TabSkins.GetSkin(df.LookAndFeel); navBarSkin = DevExpress.Skins.NavBarSkins.GetSkin(df.LookAndFeel); formSkin = DevExpress.Skins.FormSkins.GetSkin(df.LookAndFeel); elementForm = currentSkin[DevExpress.Skins.CommonSkins.SkinForm]; elementPanel = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanel]; elementPanelNoBorder = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelNoBorder]; layoutItem = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutItemBackground]; panelBottom = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelBottom]; panelTop = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelTop]; panelLeft = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelLeft]; panelRight = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelRight]; layoutItemPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutItemPadding]; layoutGroupPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutGroupPadding]; layoutRootGroupPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutRootGroupPadding]; layoutGroupWithoutBordersPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutGroupWithoutBordersPadding]; layoutRootGroupWithoutBordersPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutRootGroupWithoutBordersPadding]; // Change the padding on elements //layoutItemPadding.ContentMargins.All = 5; //layoutGroupPadding.ContentMargins.All = 0; //layoutRootGroupPadding.ContentMargins.All = 0; //layoutGroupWithoutBordersPadding.ContentMargins.All = 0; //layoutRootGroupWithoutBordersPadding.ContentMargins.All = 0; if (elementPanel.Image.Image != null) { elementPanel.Image.Image = null; } DevExpress.Skins.SkinElement element; element = tabSkin[DevExpress.Skins.TabSkins.SkinTabPane]; DevExpress.Skins.SkinElement navbar = navBarSkin[DevExpress.Skins.NavBarSkins.SkinBackground]; layoutItem.Color.BackColor = elementForm.Color.BackColor = elementPanel.Color.BackColor = elementPanelNoBorder.Color.BackColor = panelBottom.Color.SolidImageCenterColor = panelTop.Color.SolidImageCenterColor = panelLeft.Color.SolidImageCenterColor = panelRight.Color.SolidImageCenterColor = element.Color.SolidImageCenterColor = navbar.Color.BackColor = base.BackColor; if (elementPanel.Image.Image != null) { elementPanel.Image.Image = null; } }
public mgLayoutControl() : base() { this.Root.GroupBordersVisible = false; DevExpress.Skins.Skin currentSkin = null; DevExpress.Skins.Skin tabSkin = null; DevExpress.Skins.Skin navBarSkin = null; DevExpress.Skins.Skin formSkin = null; DevExpress.Skins.SkinElement elementForm, elementPanel, elementPanelNoBorder,layoutItem; DevExpress.Skins.SkinElement panelBottom, panelTop, panelLeft, panelRight; DevExpress.Skins.SkinElement layoutItemPadding, layoutGroupPadding, layoutRootGroupPadding; DevExpress.Skins.SkinElement layoutGroupWithoutBordersPadding, layoutRootGroupWithoutBordersPadding; DevExpress.LookAndFeel.DefaultLookAndFeel df = new DevExpress.LookAndFeel.DefaultLookAndFeel(); df.LookAndFeel.SkinName = "Black"; currentSkin = DevExpress.Skins.CommonSkins.GetSkin(df.LookAndFeel); tabSkin = DevExpress.Skins.TabSkins.GetSkin(df.LookAndFeel); navBarSkin = DevExpress.Skins.NavBarSkins.GetSkin(df.LookAndFeel); formSkin = DevExpress.Skins.FormSkins.GetSkin(df.LookAndFeel); elementForm = currentSkin[DevExpress.Skins.CommonSkins.SkinForm]; elementPanel = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanel]; elementPanelNoBorder = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelNoBorder]; layoutItem = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutItemBackground]; panelBottom = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelBottom]; panelTop = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelTop]; panelLeft = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelLeft]; panelRight = currentSkin[DevExpress.Skins.CommonSkins.SkinGroupPanelRight]; layoutItemPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutItemPadding]; layoutGroupPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutGroupPadding]; layoutRootGroupPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutRootGroupPadding]; layoutGroupWithoutBordersPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutGroupWithoutBordersPadding]; layoutRootGroupWithoutBordersPadding = currentSkin[DevExpress.Skins.CommonSkins.SkinLayoutRootGroupWithoutBordersPadding]; // Change the padding on elements layoutItemPadding.ContentMargins.All = 5; layoutGroupPadding.ContentMargins.All = 0; layoutRootGroupPadding.ContentMargins.All = 0; layoutGroupWithoutBordersPadding.ContentMargins.All = 0; //layoutGroupWithoutBordersPadding.ContentMargins.Bottom = 12; layoutRootGroupWithoutBordersPadding.ContentMargins.All = 0; if (elementPanel.Image.Image != null) { elementPanel.Image.Image = null; } DevExpress.Skins.SkinElement element; element = tabSkin[DevExpress.Skins.TabSkins.SkinTabPane]; DevExpress.Skins.SkinElement navbar = navBarSkin[DevExpress.Skins.NavBarSkins.SkinBackground]; //layoutItem.Color.BackColor = // elementForm.Color.BackColor = // elementPanel.Color.BackColor = // elementPanelNoBorder.Color.BackColor = // panelBottom.Color.SolidImageCenterColor = // panelTop.Color.SolidImageCenterColor = // panelLeft.Color.SolidImageCenterColor = // panelRight.Color.SolidImageCenterColor = // element.Color.SolidImageCenterColor = // navbar.Color.BackColor = // Color.White; //if (elementPanel.Image.Image != null) //{ // elementPanel.Image.Image = null; //} this.BackColor = Color.White; SetLayoutBackColor(); AllowCustomizationMenu = false; }
protected override void InitializeGUI(DevExpress.Skins.Skin skin) { base.InitializeGUI(skin); lstExecuteResult.ImageList = ThemeUtils.Image16; lbTitle.Text = Language.Title; }
void workspace_SmartPartActivated(object sender, WorkspaceEventArgs e) { Color? BeforeColor = null; Color? AfterColor = null; DockPanelWorkspace dockPanelWorkspace = (DockPanelWorkspace)sender; if (dockPanelWorkspace == null) return; if (dockPanelWorkspace.ActivePane == null) return; dockPanelWorkspace.Skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.LinearGradientMode = LinearGradientMode.Vertical; if (dockPanelWorkspace.ActivePane.DockState == DockState.DockLeft) { if (dockPanelWorkspace.ActiveDocumentPane == null) return; BeforeColor = dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = Color.White; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = Color.White; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = Color.White; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = Color.White; } else { BeforeColor = dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor; DevExpress.Skins.SkinElement skinElement; string elementName; //currentSkin = DevExpress.Skins.EditorsSkins.GetSkin(UserLookAndFeel.Default); //elementName = DevExpress.Skins.EditorsSkins.SkinCheckBox; currentSkin = DevExpress.Skins.CommonSkins.GetSkin(UserLookAndFeel.Default); elementName = DevExpress.Skins.CommonSkins.SkinForm; skinElement = currentSkin[elementName]; Color skinFormBackColor = skinElement.Color.BackColor; if (dockPanelWorkspace.ActiveSmartPart is Eland.GBFW.Win.Common.View.GBFWBaseView) ((Eland.GBFW.Win.Common.View.GBFWBaseView)(dockPanelWorkspace.ActiveSmartPart)).BackColor = skinFormBackColor; Color skinDockStripGradientStart = currentSkin.Properties.GetColor("DockStripGradientStart"); Color skinDockStripGradientEnd = currentSkin.Properties.GetColor("DockStripGradientEnd"); Color skinActiveTabGradientStart = currentSkin.Properties.GetColor("ActiveTabGradientStart"); Color skinActiveTabGradientEnd = currentSkin.Properties.GetColor("ActiveTabGradientEnd"); Color skinInactiveTabGradientStart = currentSkin.Properties.GetColor("InactiveTabGradientStart"); Color skinInactiveTabGradientEnd = currentSkin.Properties.GetColor("InactiveTabGradientEnd"); if (skinDockStripGradientStart.IsEmpty) { dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = Color.PowderBlue; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = Color.PowderBlue; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = Color.FromArgb(250, 230, 130); dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = Color.FromArgb(248, 244, 229); } else { dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor = skinDockStripGradientStart; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.EndColor = skinDockStripGradientEnd; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.StartColor = skinActiveTabGradientStart; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.ActiveTabGradient.EndColor = skinActiveTabGradientEnd; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.StartColor = skinInactiveTabGradientStart; dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.InactiveTabGradient.EndColor = skinInactiveTabGradientEnd; } //if (dockPanelWorkspace.ActiveSmartPart is Eland.GBFW.Win.Common.View.GBFWBaseView) // ((Eland.GBFW.Win.Common.View.GBFWBaseView)(dockPanelWorkspace.ActiveSmartPart)).BackColor = userControlBackColor; } // 스킨 적용시 WinForm BackColor 설정 //UserLookAndFeel lookAndFeel = UserLookAndFeel.Default; //Skin currentSkin = CommonSkins.GetSkin(lookAndFeel); //Color userControlBackColor = currentSkin.Properties.GetColor("userControlBackColor"); //dockPanelWorkspace.ActivePane.DockPanel.BackColor = Color.Red; AfterColor = dockPanelWorkspace.ActivePane.DockPanel.Skin.DockPaneStripSkin.DocumentGradient.DockStripGradient.StartColor; if (BeforeColor == AfterColor) return; foreach (DockPane pane in dockPanelWorkspace.Panes) { if (pane.DockState != DockState.DockLeft) pane.Invalidate(true); } }
private void ShellForm_Load(object sender, EventArgs e) { CreateCommonButton(); if (ConfigurationSettings.AppSettings["MenuLocation"].ToUpper().IndexOf("TOP") < 0) { this.ApplicationMenuPart.Visible = false; } DevExpress.Skins.SkinManager.Default.RegisterAssembly(typeof(DevExpress.UserSkins.GBFWSkin).Assembly); //Register! List<DevExpress.Skins.SkinContainer> skinList = new List<DevExpress.Skins.SkinContainer>(); foreach (DevExpress.Skins.SkinContainer skinContainer in DevExpress.Skins.SkinManager.Default.Skins) { //if (!skinContainer.IsEmbedded) cboSkinList.Items.Add(skinContainer.SkinName); } //cboSkinList.SelectedText = DevExpress.LookAndFeel.UserLookAndFeel.Default.SkinName; cboSkinList.SelectedIndex = 0; currentSkin = DevExpress.Skins.CommonSkins.GetSkin(UserLookAndFeel.Default); Color mainStatusBarBackColor = currentSkin.Properties.GetColor("MainStatusBarBackColor"); if (!mainStatusBarBackColor.IsEmpty) this.MainStatusBar.BackColor = mainStatusBarBackColor; ChangeUserInfoStatusLabel(this.presenter.WorkItem.RootWorkItem.State["LoginId"].ToString()); }
protected override void DrawTopElement(GraphicsCache graphicsCache, DevExpress.Skins.Skin skin) { //base.DrawTopElement(graphicsCache, skin); DrawBackground(graphicsCache); }
protected override void InitializeGUI(DevExpress.Skins.Skin skin) { base.InitializeGUI(skin); lbTitle.Text = Language.Title; }