Ejemplo n.º 1
0
        public SAS.Shared.AddIns.ShowResult Show(System.Windows.Forms.IWin32Window Owner)
        {
            // Show the default form for this custom task
            TopNReportForm dlg = new TopNReportForm();

            dlg.Model = this;
            dlg.Text  = sLabel;

            if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                return(SAS.Shared.AddIns.ShowResult.RunNow);
            }
            else
            {
                return(SAS.Shared.AddIns.ShowResult.Canceled);
            }
        }
Ejemplo n.º 2
0
        public SAS.Shared.AddIns.ShowResult Show(System.Windows.Forms.IWin32Window Owner)
        {
            // Show the default form for this custom task
            TopNReportForm dlg = new TopNReportForm();
            dlg.Model = this;
            dlg.Text = sLabel;

            if (dlg.ShowDialog()==System.Windows.Forms.DialogResult.OK)
                return SAS.Shared.AddIns.ShowResult.RunNow;
            else
                return SAS.Shared.AddIns.ShowResult.Canceled;
        }