private void FormGuppeneditor_Shown(object sender, EventArgs e)
 {
     FormSplash.setProgress(100);
     timer1.Enabled = true;
     if (Groups.Count == 0)
     {
         MessageBox.Show("Sie sind bei keiner Gruppe als verwaltungsberechtigt eingetragen.", "Information", MessageBoxButtons.OK, MessageBoxIcon.Error);
         Application.Exit();
     }
 }
예제 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            FormSplash.ShowSplashScreen();
            FormGuppeneditor mainForm = new FormGuppeneditor(); //this takes ages

            FormSplash.CloseForm();
            Application.Run(mainForm);
        }
 public FormGuppeneditor()
 {
     InitializeComponent();
     FormSplash.setProgress(50);
     FindMyGroupMemberships();
     FormSplash.setProgress(90);
     LoadAllUser();
     FormSplash.setProgress(95);
     FindMyGroups();
     toolStripStatusLabelVersion.Text = Application.ProductVersion;
 }
예제 #4
0
 static private void ShowForm()
 {
     splashForm = new FormSplash();
     Application.Run(splashForm);
 }