private void OpenPDF_Load(object sender, EventArgs e) { _btnApriFile = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["ApriFile"]; _btnApriFile.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnApriFile_ToolClick); _btnInserisciFirma = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["InserisciFirma"]; _btnInserisciFirma.SharedProps.Enabled = false; _btnInserisciFirma.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnInserisciFirma_ToolClick); _btnPrevPage = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["PrevPage"]; _btnPrevPage.SharedProps.Enabled = false; _btnPrevPage.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnPrevPage_ToolClick); _btnNextPage = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["NextPage"]; _btnNextPage.SharedProps.Enabled = false; _btnNextPage.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnNextPage_ToolClick); _comboPage = (Infragistics.Win.UltraWinToolbars.ComboBoxTool)ultraToolbarsManagerStandard.Tools["CurrentPage"]; _comboPage.SharedProps.Enabled = false; _comboPage.ToolValueChanged += new Infragistics.Win.UltraWinToolbars.ToolEventHandler(_comboPage_ToolValueChanged); _btnZoomIn = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["zoomIn"]; _btnZoomIn.SharedProps.Enabled = false; _btnZoomIn.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnZoomIn_ToolClick); _btnZoomOut = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["zoomOut"]; _btnZoomOut.SharedProps.Enabled = false; _btnZoomOut.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnZoomOut_ToolClick); _btnFitAllPage = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["FitAllPage"]; _btnFitAllPage.SharedProps.Enabled = false; _btnFitAllPage.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnFitAllPage_ToolClick); _btnPrintDocument = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["PrintDocument"]; _btnPrintDocument.SharedProps.Enabled = false; _btnPrintDocument.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnPrintDocument_ToolClick); _btnSaveDocument = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["SaveDocument"]; _btnSaveDocument.SharedProps.Enabled = false; _btnSaveDocument.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnSaveDocument_ToolClick); _btnOpzioni = (Infragistics.Win.UltraWinToolbars.ButtonTool)ultraToolbarsManagerStandard.Tools["Opzioni"]; _btnOpzioni.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(_btnOpzioni_ToolClick); _currentSize = (Infragistics.Win.UltraWinToolbars.MaskedEditTool)ultraToolbarsManagerStandard.Tools["CurrentSize"]; _currentSize.SharedProps.Enabled = false; _currentSize.ToolValueChanged += new Infragistics.Win.UltraWinToolbars.ToolEventHandler(_currentSize_ToolValueChanged); //// Menu //if (!IsLayoutLoaded) //{ // ToolbarHelper toolBar = new ToolbarHelper(base.ultraToolbarsManagerStandard, "MainMenu"); // toolBar.AddTool("ApriFile", "Apri PDF", ToolbarHelper.ToolbarType.Button, 0, "File", true); // toolBar.AddTool("SaveDocument", "Salva il documento", ToolbarHelper.ToolbarType.Button, 1, "File", false); // toolBar.AddTool("PrintDocument", "Stampa il documento", ToolbarHelper.ToolbarType.Button, 2, "File", false); // toolBar.AddTool("Opzioni", "Opzioni", ToolbarHelper.ToolbarType.Button, 3, "File", true); // toolBar.AddTool("&Gestione", ToolbarHelper.ToolbarType.PopUpMenu, 1); // toolBar.AddTool("InserisciFirma", "Inserisci la &Firma", ToolbarHelper.ToolbarType.Button, 1, "&Gestione", false); // toolBar.AddTool("PrevPage", "&Precedente", ToolbarHelper.ToolbarType.Button, 2, "&Gestione", true); // toolBar.AddTool("NextPage", "&Successivo", ToolbarHelper.ToolbarType.Button, 3, "&Gestione", false); // toolBar.AddTool("ZoomIn", "&Ingrandisci", ToolbarHelper.ToolbarType.Button, 4, "&Gestione", true); // toolBar.AddTool("ZoomOut", "&Rimpicciolisci", ToolbarHelper.ToolbarType.Button, 5, "&Gestione", false); // toolBar.AddTool("FitAllPage", "&Visualizzazione standard", ToolbarHelper.ToolbarType.Button, 6, "&Gestione", false); //} // Richiesta l'apertura immediata del file if (_openFile) { DialogResult result = apriFile(); if (result == DialogResult.Cancel) this.Close(); else fitAllPage(); } }
/// <summary> /// Metodo necessario per il supporto della finestra di progettazione. Non modificare /// il contenuto del metodo con l'editor di codice. /// </summary> private void InitializeComponent() { Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool30 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Opzioni"); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OpenPDF)); Infragistics.Win.UltraWinToolbars.RibbonTab ribbonTab1 = new Infragistics.Win.UltraWinToolbars.RibbonTab("file"); Infragistics.Win.UltraWinToolbars.RibbonGroup ribbonGroup1 = new Infragistics.Win.UltraWinToolbars.RibbonGroup("gestione"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool21 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ApriFile"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool22 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SaveDocument"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool23 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrintDocument"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool24 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrevPage"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool25 = new Infragistics.Win.UltraWinToolbars.ButtonTool("NextPage"); Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool5 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("CurrentPage"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool29 = new Infragistics.Win.UltraWinToolbars.ButtonTool("InserisciFirma"); Infragistics.Win.UltraWinToolbars.RibbonTab ribbonTab2 = new Infragistics.Win.UltraWinToolbars.RibbonTab("visualizzazione"); Infragistics.Win.UltraWinToolbars.RibbonGroup ribbonGroup2 = new Infragistics.Win.UltraWinToolbars.RibbonGroup("visualizzazione"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool26 = new Infragistics.Win.UltraWinToolbars.ButtonTool("zoomIn"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool27 = new Infragistics.Win.UltraWinToolbars.ButtonTool("zoomOut"); Infragistics.Win.UltraWinToolbars.MaskedEditTool maskedEditTool3 = new Infragistics.Win.UltraWinToolbars.MaskedEditTool("CurrentSize"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool28 = new Infragistics.Win.UltraWinToolbars.ButtonTool("FitAllPage"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool31 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Opzioni"); Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("StdPDF"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ApriFile"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SaveDocument"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrintDocument"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("InserisciFirma"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrevPage"); Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool1 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("CurrentPage"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("NextPage"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("zoomOut"); Infragistics.Win.UltraWinToolbars.MaskedEditTool maskedEditTool1 = new Infragistics.Win.UltraWinToolbars.MaskedEditTool("CurrentSize"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("zoomIn"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("FitAllPage"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Opzioni"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ApriFile"); Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("InserisciFirma"); Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrevPage"); Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("NextPage"); Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool2 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("CurrentPage"); Infragistics.Win.ValueList valueList1 = new Infragistics.Win.ValueList(0); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("zoomIn"); Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("zoomOut"); Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.MaskedEditTool maskedEditTool2 = new Infragistics.Win.UltraWinToolbars.MaskedEditTool("CurrentSize"); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("FitAllPage"); Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrintDocument"); Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool19 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SaveDocument"); Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance(); Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool20 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Opzioni"); Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance(); Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance(); this.axAcroPDF1 = new AxAcroPDFLib.AxAcroPDF(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.lblDragger = new Infragistics.Win.Misc.UltraLabel(); this.savePdfDialog = new System.Windows.Forms.SaveFileDialog(); ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManagerStandard)).BeginInit(); this.MainStandardForm_Fill_Panel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.axAcroPDF1)).BeginInit(); this.SuspendLayout(); // // ultraToolbarsManagerStandard // this.ultraToolbarsManagerStandard.MenuSettings.ForceSerialization = true; this.ultraToolbarsManagerStandard.Ribbon.ApplicationMenu.ToolAreaLeft.NonInheritedTools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool30}); this.ultraToolbarsManagerStandard.Ribbon.ApplicationMenuButtonImage = ((System.Drawing.Image)(resources.GetObject("ultraToolbarsManagerStandard.Ribbon.ApplicationMenuButtonImage"))); ribbonTab1.Caption = "File"; ribbonGroup1.Caption = "Gestione PDF"; buttonTool24.InstanceProps.IsFirstInGroup = true; buttonTool29.InstanceProps.IsFirstInGroup = true; ribbonGroup1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool21, buttonTool22, buttonTool23, buttonTool24, buttonTool25, comboBoxTool5, buttonTool29}); ribbonTab1.Groups.AddRange(new Infragistics.Win.UltraWinToolbars.RibbonGroup[] { ribbonGroup1}); ribbonTab2.Caption = "Visualizza"; ribbonGroup2.Caption = "Visualizzazione"; maskedEditTool3.InstanceProps.IsFirstInGroup = true; ribbonGroup2.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool26, buttonTool27, maskedEditTool3, buttonTool28}); ribbonTab2.Groups.AddRange(new Infragistics.Win.UltraWinToolbars.RibbonGroup[] { ribbonGroup2}); this.ultraToolbarsManagerStandard.Ribbon.NonInheritedRibbonTabs.AddRange(new Infragistics.Win.UltraWinToolbars.RibbonTab[] { ribbonTab1, ribbonTab2}); this.ultraToolbarsManagerStandard.Ribbon.QuickAccessToolbar.NonInheritedTools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool31}); this.ultraToolbarsManagerStandard.Ribbon.Visible = true; ultraToolbar1.DockedColumn = 1; ultraToolbar1.DockedRow = 1; buttonTool5.InstanceProps.IsFirstInGroup = true; comboBoxTool1.InstanceProps.Width = 40; buttonTool7.InstanceProps.IsFirstInGroup = true; maskedEditTool1.InstanceProps.Width = 57; buttonTool10.InstanceProps.IsFirstInGroup = true; ultraToolbar1.NonInheritedTools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool1, buttonTool2, buttonTool3, buttonTool4, buttonTool5, comboBoxTool1, buttonTool6, buttonTool7, maskedEditTool1, buttonTool8, buttonTool9, buttonTool10}); ultraToolbar1.Text = "StdPDF"; this.ultraToolbarsManagerStandard.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] { ultraToolbar1}); this.ultraToolbarsManagerStandard.ToolbarSettings.ForceSerialization = true; appearance1.Image = global::GpPDF.Properties.Resources.fileopen_large; buttonTool11.SharedPropsInternal.AppearancesLarge.Appearance = appearance1; appearance2.Image = global::GpPDF.Properties.Resources.fileopen_small; buttonTool11.SharedPropsInternal.AppearancesSmall.Appearance = appearance2; buttonTool11.SharedPropsInternal.Caption = "Apri file"; appearance3.Image = global::GpPDF.Properties.Resources.firma_large; buttonTool12.SharedPropsInternal.AppearancesLarge.Appearance = appearance3; appearance4.Image = global::GpPDF.Properties.Resources.firma_small; buttonTool12.SharedPropsInternal.AppearancesSmall.Appearance = appearance4; buttonTool12.SharedPropsInternal.Caption = "Inserisci la firma"; appearance5.Image = global::GpPDF.Properties.Resources.previous_large; buttonTool13.SharedPropsInternal.AppearancesLarge.Appearance = appearance5; appearance6.Image = global::GpPDF.Properties.Resources.previous_small; buttonTool13.SharedPropsInternal.AppearancesSmall.Appearance = appearance6; buttonTool13.SharedPropsInternal.Caption = "Pagina precedente"; appearance7.Image = global::GpPDF.Properties.Resources.next_large; buttonTool14.SharedPropsInternal.AppearancesLarge.Appearance = appearance7; appearance8.Image = global::GpPDF.Properties.Resources.next_small; buttonTool14.SharedPropsInternal.AppearancesSmall.Appearance = appearance8; buttonTool14.SharedPropsInternal.Caption = "Pagina Successiva"; comboBoxTool2.SharedPropsInternal.Caption = "Pagina Corrente"; comboBoxTool2.ValueList = valueList1; appearance9.Image = global::GpPDF.Properties.Resources.zoomin_large; buttonTool15.SharedPropsInternal.AppearancesLarge.Appearance = appearance9; appearance10.Image = global::GpPDF.Properties.Resources.zoomin_small; buttonTool15.SharedPropsInternal.AppearancesSmall.Appearance = appearance10; buttonTool15.SharedPropsInternal.Caption = "Ingrandisci"; appearance11.Image = global::GpPDF.Properties.Resources.zoomout_large; buttonTool16.SharedPropsInternal.AppearancesLarge.Appearance = appearance11; appearance12.Image = global::GpPDF.Properties.Resources.zoomout_small; buttonTool16.SharedPropsInternal.AppearancesSmall.Appearance = appearance12; buttonTool16.SharedPropsInternal.Caption = "Rimpicciolisci"; maskedEditTool2.MaskInput = "{double:3.1}"; maskedEditTool2.SharedPropsInternal.Caption = "Ridimensiona il pdf"; maskedEditTool2.SpinButtonDisplayStyle = Infragistics.Win.SpinButtonDisplayStyle.OnRight; appearance13.Image = global::GpPDF.Properties.Resources.documentview_large; buttonTool17.SharedPropsInternal.AppearancesLarge.Appearance = appearance13; appearance14.Image = global::GpPDF.Properties.Resources.documentview_small; buttonTool17.SharedPropsInternal.AppearancesSmall.Appearance = appearance14; buttonTool17.SharedPropsInternal.Caption = "Imposta dimensioni di default"; appearance15.Image = global::GpPDF.Properties.Resources.printer_large; buttonTool18.SharedPropsInternal.AppearancesLarge.Appearance = appearance15; appearance16.Image = global::GpPDF.Properties.Resources.printer_small; buttonTool18.SharedPropsInternal.AppearancesSmall.Appearance = appearance16; buttonTool18.SharedPropsInternal.Caption = "Stampa il documento"; appearance17.Image = global::GpPDF.Properties.Resources.salva_large; buttonTool19.SharedPropsInternal.AppearancesLarge.Appearance = appearance17; appearance18.Image = global::GpPDF.Properties.Resources.salva_small; buttonTool19.SharedPropsInternal.AppearancesSmall.Appearance = appearance18; buttonTool19.SharedPropsInternal.Caption = "Salva il documento"; appearance19.Image = global::GpPDF.Properties.Resources.opzioni_large; buttonTool20.SharedPropsInternal.AppearancesLarge.Appearance = appearance19; appearance20.Image = global::GpPDF.Properties.Resources.opzioni_small; buttonTool20.SharedPropsInternal.AppearancesSmall.Appearance = appearance20; buttonTool20.SharedPropsInternal.Caption = "Opzioni"; this.ultraToolbarsManagerStandard.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buttonTool11, buttonTool12, buttonTool13, buttonTool14, comboBoxTool2, buttonTool15, buttonTool16, maskedEditTool2, buttonTool17, buttonTool18, buttonTool19, buttonTool20}); // // standardFormStatus // this.standardFormStatus.Location = new System.Drawing.Point(0, 753); this.standardFormStatus.Size = new System.Drawing.Size(607, 23); // // MainStandardForm_Fill_Panel // this.MainStandardForm_Fill_Panel.Controls.Add(this.lblDragger); this.MainStandardForm_Fill_Panel.Controls.Add(this.axAcroPDF1); this.MainStandardForm_Fill_Panel.Location = new System.Drawing.Point(8, 187); this.MainStandardForm_Fill_Panel.Size = new System.Drawing.Size(591, 566); // // persistWindowComponent1 // this.persistWindowComponent1.XMLFilePath = "C:\\Users\\Giorgio\\AppData\\Local\\Microsoft\\VisualStudio\\9.0\\ProjectAssemblies\\engex" + "vsz01\\Layouts\\WindowState.xml"; // // axAcroPDF1 // this.axAcroPDF1.Dock = System.Windows.Forms.DockStyle.Fill; this.axAcroPDF1.Enabled = true; this.axAcroPDF1.Location = new System.Drawing.Point(0, 0); this.axAcroPDF1.Name = "axAcroPDF1"; this.axAcroPDF1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axAcroPDF1.OcxState"))); this.axAcroPDF1.Size = new System.Drawing.Size(591, 566); this.axAcroPDF1.TabIndex = 1; // // openFileDialog1 // this.openFileDialog1.DefaultExt = "pdf"; this.openFileDialog1.Filter = "File PDF|*.pdf|Tiff|*.tiff;*.tif"; // // lblDragger // appearance21.Image = global::GpPDF.Properties.Resources.firma; this.lblDragger.Appearance = appearance21; this.lblDragger.BorderStyleOuter = Infragistics.Win.UIElementBorderStyle.Dashed; this.lblDragger.ImageSize = new System.Drawing.Size(48, 34); this.lblDragger.Location = new System.Drawing.Point(374, 407); this.lblDragger.Name = "lblDragger"; this.lblDragger.Size = new System.Drawing.Size(48, 34); this.lblDragger.TabIndex = 3; this.lblDragger.Visible = false; this.lblDragger.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lblDragger_MouseMove); this.lblDragger.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblDragger_MouseDown); this.lblDragger.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblDragger_MouseUp); // // savePdfDialog // this.savePdfDialog.DefaultExt = "pdf"; this.savePdfDialog.Filter = "File PDF|*.pdf|Tutti i file|*.*"; // // OpenPDF // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(607, 776); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "OpenPDF"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "PDF"; this.Load += new System.EventHandler(this.OpenPDF_Load); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OpenPDF_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManagerStandard)).EndInit(); this.MainStandardForm_Fill_Panel.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.axAcroPDF1)).EndInit(); this.ResumeLayout(false); }