Пример #1
0
        public frmExport(PdmReader pr, string path)
        {
            InitializeComponent();

            this.pr = pr;
            this.path = path;
        }
Пример #2
0
 private void btnGenExcel_Click(object sender, EventArgs e)
 {
     try
     {
         PdmReader mTest = new PdmReader(this.textBox1.Text);
         frmExport f2 = new frmExport(mTest, this.textBox1.Text);
         f2.Owner = this;
         f2.Show();
         this.Visible = false;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }