コード例 #1
0
        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();
        }
コード例 #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();
        }