GrapeCity.ActiveReports.Design.Win.v11 アセンブリ > GrapeCity.ActiveReports.Design 名前空間 > Selection クラス : Clear メソッド |
/// <概要> /// DesignView - デザインタブを更新し、メニューに対するデフォールト値を設定する /// </概要> private void DesignView() { this.sb.Text = "レポートが読み込み中"; this.ardMain.Selection.Clear(); this.ardMain.Selection.Select(this.ardMain.Report); this.mnuFilePrint.Enabled = false; //メニューの項目をリセットする this.mnuFileNew.Enabled = true; this.mnuFileOpen.Enabled = true; this.mnuFileSave.Enabled = true; this.mnuFilePrint.Enabled = false; this.mnuFileExport.Enabled = false; this.mnuFilePrintPreview.Enabled = true; this.mnuFormat.Enabled = true; this.mnuInsert.Enabled = true; this.mnuEditCopyPage.Enabled = false; this.mnuEditFind.Enabled = false; this.mnuFileExport.Enabled = false; this.mnuEditProperties.Enabled = true; this.mnuFileSaveAs.Enabled = true; this.mnuFileReportProperties.Enabled = true; this.sb.Text = "準備完了"; }
'DesignView - デザインタブを更新し、メニューに対するデフォールト値を設定する Private Sub DesignView() Me.sb.Text = "レポートが読み込み中" Me.ardMain.Selection.Clear() Me.ardMain.Selection.Select(Me.ardMain.Report) Me.mnuFilePrint.Enabled = False 'メニューの項目をリセットする Me.mnuFileNew.Enabled = True Me.mnuFileOpen.Enabled = True Me.mnuFileSave.Enabled = True Me.mnuFilePrint.Enabled = False Me.mnuFileExport.Enabled = False Me.mnuFilePrintPreview.Enabled = True Me.mnuFormat.Enabled = True Me.mnuInsert.Enabled = True Me.mnuEditCopyPage.Enabled = False Me.mnuEditFind.Enabled = False Me.mnuFileExport.Enabled = False Me.mnuEditProperties.Enabled = True Me.mnuFileSaveAs.Enabled = True Me.mnuFileReportProperties.Enabled = True Me.sb.Text = "準備完了" End Sub 'DesignView