Exemplo n.º 1
0
        private void btnStopReportServer_Click(object sender, EventArgs e)
        {
            if (_reportServerStarted)
            {
                ReportServer.Stop();
                btnStopReportServer.Text = "Start Report Server";

                _reportServerStarted = false;
            }
            else
            {
                ReportServer.Start();
                btnStopReportServer.Text = "Stop Report Server";
                _reportServerStarted     = true;
            }
        }