private void button1_Click(object sender, EventArgs e)
        {
            AddShiftTemplate addshifttemplate = new AddShiftTemplate();

            addshifttemplate.FormBorderStyle = FormBorderStyle.FixedDialog;
            addshifttemplate.FormClosing    += new FormClosingEventHandler(this.form_FormClosing);
            addshifttemplate.Show();
        }
Exemple #2
0
        private void vorlageToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddShiftTemplate addshifttemplate = new AddShiftTemplate();

            addshifttemplate.FormBorderStyle = FormBorderStyle.FixedDialog;
            addshifttemplate.FormClosing    += new FormClosingEventHandler(this.mainform_FormClosingEvent);
            addshifttemplate.Show();
        }