Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PluginPrintFormatter"/> class.
 /// </summary>
 /// <param name="engine">The engine.</param>
 /// <param name="config">The config.</param>
 public PluginPrintFormatter(TaskClerkEngine engine, PrintConfiguration config)
 {
     _engine            = engine;
     _config            = config;
     _currentPageNumber = 1;
     _font = (Font)_engine.SettingsProvider.Get("GeneralFont", SystemFonts.DefaultFont);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PluginPrintFormatter"/> class.
 /// </summary>
 /// <param name="engine">The engine.</param>
 /// <param name="config">The config.</param>
 public PluginPrintFormatter(TaskClerkEngine engine, PrintConfiguration config)
 {
     _engine = engine;
     _config = config;
     _currentPageNumber = 1;
     _font = (Font)_engine.SettingsProvider.Get("GeneralFont", SystemFonts.DefaultFont);
 }
Ejemplo n.º 3
0
        //private Collection<TaskActivity> _taskActivities;

        /// <summary>
        /// Initializes a new instance of the <see cref="PrintSetupDialog"/> class.
        /// </summary>
        public PrintSetupDialog()
        {
            InitializeComponent();
            _printFormatters = new Collection <LoadableItem>();
            _config          = new PrintConfiguration();
        }
Ejemplo n.º 4
0
 //private Collection<TaskActivity> _taskActivities;
 /// <summary>
 /// Initializes a new instance of the <see cref="PrintSetupDialog"/> class.
 /// </summary>
 public PrintSetupDialog()
 {
     InitializeComponent();
     _printFormatters = new Collection<LoadableItem>();
     _config = new PrintConfiguration();
 }