Exemplo n.º 1
0
 private void btnOk_Click(object sender, EventArgs e)
 {
     using (frmExport2 frm = new frmExport2(_SourceProvider, _SelectedProvider, ucbServiceGrid1.SelecdedServices))
     {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             if (frm.HasErrors)
             {
                 this.MessageViewer.Show("Export terminated with warnings or errors!! ");
             }
             else
             {
                 this.MessageViewer.Show("Export terminated successfully !! ");
             }
         }
     }
 }
Exemplo n.º 2
0
 private void btnOk_Click(object sender, EventArgs e)
 {
     using (frmExport2 frm = new frmExport2(_SourceProvider,_SelectedProvider,ucbServiceGrid1.SelecdedServices))
     {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             if(frm.HasErrors)
                 this.MessageViewer.Show("Export terminated with warnings or errors!! ");
             else
                 this.MessageViewer.Show("Export terminated successfully !! ");
         }
     }
 }