protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            ClassCleanerConfig.Current.Load();
            UpdatedDatasource();

            if (!GetStorage().ReadBoolean("Preferences", "LicenseViewed", false))
            {
                var license = new LicenseDisplayForm();
                license.StartPosition = FormStartPosition.CenterParent;
                license.ShowDialog(this);
                GetStorage().WriteBoolean("Preferences", "LicenseViewed", true);
            }
        }
예제 #2
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            ClassCleanerConfig.Current.Load();
            UpdatedDatasource();

            if (!GetStorage().ReadBoolean("Preferences", "LicenseViewed", false))
            {
                var license = new LicenseDisplayForm();
                license.StartPosition = FormStartPosition.CenterParent;
                license.ShowDialog(this);
                GetStorage().WriteBoolean("Preferences", "LicenseViewed", true);
            }
        }