コード例 #1
0
ファイル: App.xaml.cs プロジェクト: DilipCNair/RBS
        private void Application_RBS_Startup(object sender, StartupEventArgs e)
        {
            AuthenticationWindow = new AuthenticationWindow();
            NotificationWindow   = new NotificationWindow();
            AuthenticationWindow.Show();

            GlobalResources.IsNotificationWindowShown = false;
            GlobalResources.AlertMailing                = false;
            GlobalResources.IsProcessRestrictionsSet    = false;
            GlobalResources.IsFileSytemRestrictionSet   = false;
            GlobalResources.IsRestrictionsMonitoringSet = false;
            GlobalResources.InitialiseGlobalResources();
            GlobalAlerts.InitializeGlobalAlerts();
            GlobalException.InitializeGlobalException();
            MailingSystem.InitializeMailingSystem();
            GettingCurrentUserInfo();
            GettingAllUsersInfo();
            GlobalResources.IWantToShowCurrentUser();
        }
コード例 #2
0
ファイル: MainWindow.xaml.cs プロジェクト: DilipCNair/RBS
        public void Notify()
        {
            NotificationWindow NotificationWindow = new NotificationWindow();

            NotificationWindow.Show();
        }