-
Notifications
You must be signed in to change notification settings - Fork 0
/
Form1.cs
30 lines (28 loc) · 844 Bytes
/
Form1.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars.Helpers;
using DevExpress.XtraEditors;
using DevExpress.LookAndFeel;
using WindowsApplication1.Properties;
namespace WindowsApplication1
{
public partial class Form1 : XtraForm
{
public Form1()
{
InitializeComponent();
SkinHelper.InitSkinGallery(galleryControl1);
UserLookAndFeel.Default.SkinName = Settings.Default["ApplicationSkinName"].ToString();
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
Settings.Default["ApplicationSkinName"] = UserLookAndFeel.Default.SkinName;
Settings.Default.Save();
}
}
}