Example #1
0
 private void picBox_pdf_Click(object sender, EventArgs e)
 {
     if (checkBoxAskMe.Checked == true)
     {
         if (copy == "1")
         {
             if (PlrPDF == null)
             {
                 PlrPDF = new uploadPDF("");
                 //f2.MdiParent = this;
                 PlrPDF.FormClosed += new FormClosedEventHandler(PlrPDF_FormClosed);
                 PlrPDF.ShowDialog();
             }
             else
             {
                 PlrPDF.Activate();
             }
         }
         else
         {
             MessageBox.Show("You are not using full version of PIA Utility App", "PIA Utility Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
     }
     else
     {
         MessageBox.Show("Please Connect Pendrive with Utility app first", "PIA Utility Error", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Example #2
0
 void PlrPDF_FormClosed(object sender, FormClosedEventArgs e)
 {
     PlrPDF = null;
     //throw new NotImplementedException();
 }