资源简介

VS中引用文件中的dll文件即可实现去除DEMO VERSION水印,已亲测可用

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using FastReport;

namespace CustomDesigner
{
  public partial class Form1 : Form
  {
    public Form1()
    {
      InitializeComponent();
    }

    private void Form1_Load(object sender EventArgs e)
    {
      // create a new empty report and attach it to the designer
      Report report = new Report();
      designerControl1.Report = report;
      
      // restore the design layout. Without this code the designer tool windows will be unavailable
      designerControl1.RefreshLayout();
    }

    private void designerControl1_UIStateChanged(object sender EventArgs e)
    {
      // update Enabled state of our buttons
      btnSave.Enabled = designerControl1.cmdSave.Enabled;
      btnUndo.Enabled = designerControl1.cmdUndo.Enabled;
      btnRedo.Enabled = designerControl1.cmdRedo.Enabled;
    }

    private void btnNew_Click(object sender EventArgs e)
    {
      designerControl1.cmdNew.Invoke();
    }

    private void btnOpen_Click(object sender EventArgs e)
    {
      designerControl1.cmdOpen.Invoke();
    }

    private void btnSave_Click(object sender EventArgs e)
    {
      designerControl1.cmdSave.Invoke();
    }

    private void btnUndo_Click(object sender EventArgs e)
    {
      designerControl1.cmdUndo.Invoke();
    }

    private void btnRedo_Click(object sender EventArgs e)
    {
      designerControl1.cmdRedo.Invoke();
    }
  }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      61440  2009-11-19 22:51  FastReport\Demo.exe

     文件       2696  2009-06-21 00:48  FastReport\Demos\C#\CustomDesigner\CustomDesigner.csproj

     文件        916  2009-06-21 00:48  FastReport\Demos\C#\CustomDesigner\CustomDesigner.sln

     文件       1607  2009-06-21 00:48  FastReport\Demos\C#\CustomDesigner\Form1.cs

     文件       5833  2009-06-21 00:48  FastReport\Demos\C#\CustomDesigner\Form1.Designer.cs

     文件      10479  2009-06-21 00:48  FastReport\Demos\C#\CustomDesigner\Form1.resx

     文件        429  2009-06-21 00:48  FastReport\Demos\C#\CustomDesigner\Program.cs

     文件       1284  2009-06-21 00:48  FastReport\Demos\C#\CustomDesigner\Properties\AssemblyInfo.cs

     文件       4004  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\CustomOpenSaveDialogs.csproj

     文件        930  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\CustomOpenSaveDialogs.sln

     文件       3032  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\database.xml

     文件       5056  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\Form1.cs

     文件       2152  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\Form1.Designer.cs

     文件       5814  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\Form1.resx

     文件        870  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\OpenDialogForm.cs

     文件       3843  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\OpenDialogForm.Designer.cs

     文件       5814  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\OpenDialogForm.resx

     文件        436  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\Program.cs

     文件       1298  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\Properties\AssemblyInfo.cs

     文件        599  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\SaveDialogForm.cs

     文件       3829  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\SaveDialogForm.Designer.cs

     文件       5814  2009-07-10 17:06  FastReport\Demos\C#\CustomOpenSaveDialogs\SaveDialogForm.resx

     文件       3484  2009-04-30 19:19  FastReport\Demos\C#\CustomPreview\Backup\CustomPreview.csproj

     文件        914  2009-04-30 19:19  FastReport\Demos\C#\CustomPreview\Backup\CustomPreview.sln

     文件       4141  2009-04-30 19:19  FastReport\Demos\C#\CustomPreview\Backup\Form1.cs

     文件       8412  2009-04-30 19:19  FastReport\Demos\C#\CustomPreview\Backup\Form1.Designer.cs

     文件       6012  2009-04-30 19:19  FastReport\Demos\C#\CustomPreview\Backup\Form1.resx

     文件        428  2009-04-30 19:19  FastReport\Demos\C#\CustomPreview\Backup\Program.cs

     文件       1282  2009-04-30 19:19  FastReport\Demos\C#\CustomPreview\Backup\Properties\AssemblyInfo.cs

     文件       2623  2009-04-30 19:19  FastReport\Demos\C#\CustomPreview\Backup\Properties\Resources.Designer.cs

............此处省略367个文件信息

评论

共有 条评论