91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.02MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-10-31
  • 語言: C#
  • 標簽: bartender??

資源簡介

bartender .net sdk的關(guān)鍵dll:Seagull.BarTender.Print.dll; Print SDK Samples+Print Server SDK Samples(C#及VB調(diào)用bartender實現(xiàn)打印的實例)

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Drawing;
using?System.Windows.Forms;
using?Seagull.BarTender.Print;

using?System.Diagnostics;

namespace?LabelPrint
{
???///?
???///?Label?Print?Sample
???///?This?sample?allows?the?user?to?open?a?format?select?a?printer?set?substrings?and?print.
???///
???///?This?sample?is?intended?to?show?how?to:
???///??-Generate?quick?thumbnails?without?first?opening?a?format?in?BarTender.
???///??-Open?a?Format?in?BarTender.
???///??-Get?a?list?of?printers?and?set?the?printer?on?a?format.
???///??-Set?a?DataGridView?to?use?the?SubStrings?collection?as?a?DataSource.
???///??-Get?and?Set?the?number?of?serialized?copies?and?the?number?of?identical?copies.
???///??-Start?and?Stop?a?BarTender?engine.
???///?

???public?partial?class?LabelPrint?:?Form
???{
??????#region?Fields
??????//?Common?strings.
??????private?const?string?appName?=?“Label?Print“;
??????private?const?string?dataSourced?=?“Data?Sourced“;

??????private?Engine?engine?=?null;?//?The?BarTender?Print?Engine
??????private?LabelFormatDocument?format?=?null;?//?The?currently?open?Format
??????private?bool?isClosing?=?false;?//?Set?to?true?if?we?are?closing.?This?helps?discontinue?thumbnail?loading.

??????//?Label?browser
??????private?string[]?browsingFormats;?//?The?list?of?filenames?in?the?current?folder
??????Hashtable?listItems;?//?A?hash?table?containing?ListViewItems?and?indexed?by?format?name.
???????????????????????????//?It?keeps?track?of?what?formats?have?had?their?image?loaded.
??????Queue?generationQueue;?//?A?queue?containing?indexes?into?browsingFormats
??????????????????????????????????//?to?facilitate?the?generation?of?thumbnails

??????//?Label?browser?indexes.
??????int?topIndex;?//?The?top?visible?index?in?the?lstLabelBrowser
??????int?selectedIndex;?//?The?selected?index?in?the?lstLabelBrowser
??????#endregion

??????#region?Enumerations
??????//?Indexes?into?our?image?list?for?the?label?browser.
??????enum?ImageIndex?{?LoadingFormatImage?=?0?FailureToLoadFormatImage?=?1?};
??????#endregion

??????#region?Constructor
??????///?
??????///?Constructor
??????///?

??????public?LabelPrint()
??????{
?????????InitializeComponent();
??????}
??????#endregion

??????#region?Delegates
??????delegate?void?DelegateShowMessageBox(string?message);
??????#endregion

??????#region?Event?Handlers
??????#region?Form?Event?Handlers
??????///?
??????///?Called?when?the?user?opens?the?program.
??????///?

??????///?
??????///?
??????private?void?LabelPrint_Load(object?sender?EventArgs?e)
??????{
?????????//?Create?and?start?a?new?BarTender?Print?Engine.
?????????try
?????????{
????????????engine?=?new?Engine(true);
?????????}
?????????catch?(PrintEngineException?exception)
?????????{
?????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????29184??2014-04-01?15:39??Print?SDK?Samples\LabelPrint\bin\LabelPrint.exe

?????文件??????21538??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\LabelPrint.cs

?????文件???????3933??2014-04-01?15:39??Print?SDK?Samples\LabelPrint\C#\LabelPrint.csproj

?????文件????????257??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\LabelPrint.csproj.vspscc

?????文件??????17092??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\LabelPrint.Designer.cs

?????文件???????6230??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\LabelPrint.resx

?????文件????????456??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\Program.cs

?????文件???????1304??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\Properties\AssemblyInfo.cs

?????文件???????3629??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\Properties\Resources.Designer.cs

?????文件???????6713??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\Properties\Resources.resx

?????文件???????1068??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\Properties\Settings.Designer.cs

?????文件????????249??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\Properties\Settings.settings

?????文件???????1560??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\Resources\LoadingError.gif

?????文件???????1388??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\Resources\LoadingFormat.gif

?????文件???????2545??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\C#\Resources\updating.gif

?????文件??????15562??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\LabelPrint.Designer.vb

?????文件???????6230??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\LabelPrint.resx

?????文件??????19948??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\LabelPrint.vb

?????文件???????3656??2014-04-01?15:39??Print?SDK?Samples\LabelPrint\VB\LabelPrint.vbproj

?????文件???????1324??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\My?Project\AssemblyInfo.vb

?????文件???????3306??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\My?Project\Resources.Designer.vb

?????文件???????6713??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\My?Project\Resources.resx

?????文件???????1101??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\My?Project\Settings.Designer.vb

?????文件????????249??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\My?Project\Settings.settings

?????文件????????509??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\Program.vb

?????文件???????1560??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\Resources\LoadingError.gif

?????文件???????1388??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\Resources\LoadingFormat.gif

?????文件???????2545??2014-04-01?14:52??Print?SDK?Samples\LabelPrint\VB\Resources\updating.gif

?????文件??????17920??2014-04-01?15:39??Print?SDK?Samples\PrintJobStatusMonitor\bin\PrintJobStatusMonitor.exe

?????文件??????11988??2014-04-01?14:52??Print?SDK?Samples\PrintJobStatusMonitor\C#\PrintJobStatusMonitor.cs

............此處省略335個文件信息

評論

共有 條評論