Exemple #1
0
        private void MiDesign_Click(object sender, EventArgs e)
        {
            FormPrint fp = new FormPrint();

            fp.Owner = this;
            fp.Text  = "Дизайнер";
            fp.ShowDialog();
        }
Exemple #2
0
 private void PrintButton_Click(object sender, EventArgs e)
 {
     if (File.Exists(Application.StartupPath + "\\combit.ListLabel15.dll"))
     {
         FormPrint fp = new FormPrint();
         fp.Owner = this;
         fp.Text  = "Печать";
         fp.ShowDialog();
     }
     else
     {
         MessageBox.Show("Печать недоступна!", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }