Example #1
0
        private void bParameters_Click(object sender, System.EventArgs e)
        {
            DrillParametersDialog dpd = new DrillParametersDialog(this.tbDrillthrough.Text, _DrillParameters);

            if (dpd.ShowDialog(this) != DialogResult.OK)
            {
                return;
            }
            tbDrillthrough.Text = dpd.DrillthroughReport;
            _DrillParameters    = dpd.DrillParameters;
            fAction             = true;
        }
 private void bParameters_Click(object sender, System.EventArgs e)
 {
     DrillParametersDialog dpd = new DrillParametersDialog(this.tbDrillthrough.Text, _DrillParameters);
     try
     {
         if (dpd.ShowDialog(this) != DialogResult.OK)
             return;
         tbDrillthrough.Text = dpd.DrillthroughReport;
         _DrillParameters = dpd.DrillParameters;
         fAction = true;
     }
     finally
     {
         dpd.Dispose();
     }
 }