-
Notifications
You must be signed in to change notification settings - Fork 2
/
Program.cs
31 lines (28 loc) · 1.09 KB
/
Program.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
31
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using DevExpress.UserSkins;
using DevExpress.Skins;
using DevExpress.LookAndFeel;
using DevExpress.Data.Filtering;
using System.Globalization;
namespace Dashboard_FiscalFunctions {
static class Program {
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main() {
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
BonusSkins.Register();
SkinManager.EnableFormSkins();
UserLookAndFeel.Default.SetSkinStyle("DevExpress Style");
CriteriaOperator.RegisterCustomFunction(new GetFiscalYearFunction(1, 10));
CriteriaOperator.RegisterCustomFunction(new GetFiscalQuarterFunction(1, 10));
CriteriaOperator.RegisterCustomFunction(new GetFiscalWeekOfYearFunction(1, 10, CalendarWeekRule.FirstFourDayWeek, DayOfWeek.Monday));
Application.Run(new Form1());
}
}
}