예제 #1
0
        private void novyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            using (NovyDialog dlg = new NovyDialog())
            {
                if (dlg.ShowDialog() == DialogResult.OK)
                {
                    pes = dlg.Pes;
                    Prepis();
                }

                pes = dlg.Pes;

                if (pes != null)
                {
                    Prepis();
                }
            }
        }
예제 #2
0
파일: Form1.cs 프로젝트: pepiczech/INPTP
        private void novyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            using (NovyDialog dlg = new NovyDialog())
            {
                if (dlg.ShowDialog() == DialogResult.OK)
                {
                    pes = dlg.Pes;
                    Prepis();
                }

                pes = dlg.Pes;

                if (pes != null)
                {
                    Prepis();
                }
            }
        }