comparison Demo/WinForms/Program.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
1 using System;
2 using System.Windows.Forms;
3
4 using BLToolkit.Demo.Forms;
5
6 namespace BLToolkit.Demo
7 {
8 static class Program
9 {
10 [STAThread]
11 static void Main()
12 {
13 Application.EnableVisualStyles();
14 Application.SetCompatibleTextRenderingDefault(false);
15
16 MainForm form = new MainForm();
17
18 ToolStripManager.LoadSettings(form, "BLToolkit.Demo");
19
20 form.FormClosing += delegate
21 {
22 ToolStripManager.SaveSettings(form, "BLToolkit.Demo");
23 };
24
25 Application.Run(form);
26 }
27 }
28 }