public frmEmailSetting()
        {
            InitializeComponent();

            settingBL    = new SettingBL();
            emailSetting = new EmailSetting();

            PopulateData();
        }
Exemple #2
0
        public frmServerSetting()
        {
            InitializeComponent();
            oDbUtilityBL     = new DbUtilityBL();
            oSettingBL       = new SettingBL();
            oServerSettingBL = new ServerSetting();

            PopulateServers();

            PopulateData();
        }
        public SplashScreen1()
        {
            InitializeComponent();

            lblCopyright.Text = String.Format("Copyright © 2009 - {0}", DateTime.Now.Year.ToString());

            SettingBL settingBL = new SettingBL();
            UISetting uiSetting = new UISetting();

            uiSetting = settingBL.GetUISetting();
            if (uiSetting != null)
            {
                Singleton.Instance.UISettings = uiSetting;
                DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(Singleton.Instance.UISettings.Name);
            }
        }
        public frmBackupSetting()
        {
            InitializeComponent();

            oSettingBL     = new SettingBL();
            oBackupSetting = new BackupSetting();

            customDays = new Dictionary <int, string>();

            cboBackupPeriod_SelectedIndexChanged(null, null);

            btnSunday.LookAndFeel.UseDefaultLookAndFeel = false;
            btnSunday.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat;

            Populate();
        }
        public frmDbUtility()
        {
            InitializeComponent();

            oDbUtilityBL = new DbUtilityBL();

            oDbUtilityBL.CurrentProgress = 0;
            oDbUtilityBL.HasError        = false;

            settingBL = new SettingBL();
            uiSetting = new UISetting();

            //dbUtilityBL.OnProgressUpdate += dbUtility_OnProgressUpdate;
            UpdateCompletionStatus.OnNewCompletionStatus += dbUtility_OnProgressUpdate;

            barDevExpressStyle.Checked = true;

            Initialize();
        }