Esempio n. 1
0
        private static void ParseArguments(string[] args)
        {
            foreach (string arg in args)
            {
                switch (arg)
                {
                case "OpenReport":
                    ReportViewerDisplay rvd = new ReportViewerDisplay();
                    rvd.ShowOpenFileDialog();
                    break;

                default:
                    break;
                }
            }
        }
Esempio n. 2
0
 public MainWindow()
 {
     InitializeComponent();
     rpvd                 = new ReportViewerDisplay();
     rpvd.MdiParent       = this;
     rpvd.AutoSize        = true;
     rpvd.TopLevel        = false;
     rpvd.SizeGripStyle   = SizeGripStyle.Hide;
     rpvd.FormBorderStyle = FormBorderStyle.None;
     rpvd.MinimizeBox     = false;
     rpvd.MaximizeBox     = false;
     rpvd.Anchor          = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     _reportLayoutPanel.Controls.Add(rpvd);
     rpvd.Show();
     LoadNodes();
 }