Example #1
0
        private void Home_Load(object sender, EventArgs e)
        {
            //label for showing dateTime Now
            label_date.Text = DateTime.Now.ToString("dd/MM/yyyy"); //Format 30.5.2015
            //HomeMenu buttons in Panel Manipulation
            HomePage1.Visible = true;
            HomePage2.Visible = false;

            ////////Form Termine Action START///////
            Termine termine = new Termine();

            termine.Opacity         = 0;
            termine.lblVisible.Text = "Hide";
            termine.ShowDialog();
            //Show notifyIcon1 in Home Form
            if (notifyIcon1 != null)
            {
                //NotifyIcon balloon
                notifyIcon1.Visible = true;
                //notifyIcon1.ShowBalloonTip(3000);
            }
            ////////Form Termine Action END///////

            ////////FeierTage Message START///////
            var feiertage = new FeierTage();

            feiertage.check_Holiday_dates();
            ////////FeierTage Message END///////

            ////////Urlaube Message START///////
            var urlaube = new Urlaube();

            urlaube.check_Urlaube_dates();
            ////////Urlaube Message END///////

            ////////Krankenstand Message START///////
            var krankendstand_update = new Mitarbeiter_Krankenstand_Update();

            krankendstand_update.check_Krankenstand_dates();
            ////////Krankendstand Message END///////

            ////////Firma Einstellungen START///////
            get_firma_settings();
            ////////Firma Einstellungen END///////

            //Check Mitarbeiter Expired Visum
            Mitarbeiter mit = new Mitarbeiter();

            mit.check_expired_visum();
            mit.check_Birthdays();

            ////////Daily_report(Tagesbericht) START///////
            check_AwailableMessages();
            ////////Daily_report END///////
        }
        private void Feirtage_Report_Load(object sender, EventArgs e)
        {
            FeierTage Fe_obj = (FeierTage)Application.OpenForms["FeierTage"];

            string tJahr = Fe_obj.comboJahr.SelectedItem.ToString();

            // TODO: This line of code loads data into the 'um_db_DataSet.feiertage' table. You can move, or remove it, as needed.
            this.feiertageTableAdapter.Fill(this.um_db_DataSet.feiertage, tJahr);
            // TODO: This line of code loads data into the 'um_db_DataSet.einstellungen_firma' table. You can move, or remove it, as needed.
            this.einstellungen_firmaTableAdapter.Fill(this.um_db_DataSet.einstellungen_firma);

            this.reportViewer1.RefreshReport();
        }
Example #3
0
        private void feiertageToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var FeierTage = new FeierTage();

            FeierTage.ShowDialog();
        }
Example #4
0
        private void button9_Click(object sender, EventArgs e)
        {
            var FeierTage = new FeierTage();

            FeierTage.ShowDialog();
        }