Beispiel #1
0
 private void butoon_generate_field_Click(object sender, EventArgs e)
 {
     try
     {
         for (int i = 0; i < workspace_ob.field_ex.width; i++)
         {
             for (int j = 0; j < workspace_ob.field_ex.heigth; j++)
             {
                 workspace_ob.field_ex.str_fild[i][j] = "";
             }
         }
         GenerateStrings_of_Numbers();
         this.AllowDrop = false;
         Pdf pdf = new Pdf();
         Pdf.workspace_ob = workspace_ob;
         pdf.ShowDialog();
         Refresh();
         this.AllowDrop = true;
     }
     catch
     {
         MessageBox.Show("Generate PDF one more time.");
     }
 }
Beispiel #2
0
 private void generatePDFToolStripMenuItem_Click(object sender, EventArgs e)
 {
     GenerateStrings_of_Numbers();
     this.AllowDrop = false;
     Pdf pdf = new Pdf();
     Pdf.workspace_ob = workspace_ob;
     pdf.ShowDialog();
     Refresh();
     this.AllowDrop = true;
 }
Beispiel #3
0
  private void generatePDFToolStripMenuItem_Click(object sender, EventArgs e)
  {
 
      Pdf pdf = new Pdf();
      Pdf.workspace_ob = workspace_ob;
      pdf.ShowDialog();
  }