Exemplo n.º 1
0
        public void DoOnEnable()
        {
            if (m_PDFViewer == null)
            {
                m_PDFViewer = GetComponentInParent <PDFViewer>();
            }
            if (m_RectTransform == null)
            {
                m_RectTransform = transform as RectTransform;
            }
            if (m_LeftPanel == null)
            {
                m_LeftPanel = transform.parent as RectTransform;
            }
            if (m_ViewerLeftPanel == null)
            {
                m_ViewerLeftPanel = m_LeftPanel.GetComponent <PDFViewerLeftPanel>();
            }
            if (m_CurrentPageRange == null)
            {
                m_CurrentPageRange = new PDFPageRange();
            }

            if (!m_IsLoaded &&
                m_PDFViewer.Document != null &&
                m_PDFViewer.Document.IsValid)
            {
                OnDocumentLoaded(m_PDFViewer.Document);
            }

            m_ThumbnailItemPrefab.gameObject.SetActive(false);
        }
        public void DoOnEnable()
        {
#if !UNITY_WEBGL
            if (m_PDFViewer == null)
            {
                m_PDFViewer = GetComponentInParent <PDFViewer>();
            }
            if (m_CanvasGroup == null)
            {
                m_CanvasGroup = GetComponent <CanvasGroup>();
            }
            if (m_RectTransform == null)
            {
                m_RectTransform = transform as RectTransform;
            }

            m_ItemPrefab.gameObject.SetActive(false);
            m_CanvasGroup.alpha = 0.0f;

            if (!m_Loaded && m_PDFViewer.Document != null && m_PDFViewer.Document.IsValid)
            {
                OnDocumentLoaded(m_PDFViewer.Document);
            }
#endif
        }
Exemplo n.º 3
0
        private static void CopyViewer(PDFViewer prefabViewer, PDFViewer viewer)
        {
            BindingFlags flags = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance |
                                 BindingFlags.Default | BindingFlags.DeclaredOnly;

            PropertyInfo[] pinfos = typeof(PDFViewer).GetProperties(flags);
            foreach (var pinfo in pinfos)
            {
                if (pinfo.CanWrite)
                {
                    try
                    {
                        pinfo.SetValue(viewer, pinfo.GetValue(prefabViewer, null), null);
                    }
                    catch
                    {
                    }
                }
            }
            FieldInfo[] finfos = typeof(PDFViewer).GetFields(flags);
            foreach (var finfo in finfos)
            {
                finfo.SetValue(viewer, finfo.GetValue(prefabViewer));
            }
        }
Exemplo n.º 4
0
 private void btnClose_Click(object sender, EventArgs e)
 {
     PDFViewer.Visible = false;
     btnClose.Visible  = false;
     PDFViewer.Navigate("");
     PDFViewer.Stop();
 }
Exemplo n.º 5
0
        private void InspectRenderingSettings()
        {
            PDFViewer viewer = (PDFViewer)target;

            GUILayout.BeginVertical("Box");

            if (EnterGroup("Rendering Settings", "Paroxe.PdfRenderer.PDFViewer.ShowRenderSettings"))
            {
                Rect       controlRect = EditorGUILayout.GetControlRect(true);
                GUIContent guiLabel    = new GUIContent("Maximum Quality");

                using (new EditorGUI.PropertyScope(controlRect, guiLabel, m_MaxZoomFactorTextureQuality))
                {
                    float maxRenderingQuality = EditorGUI.FloatField(controlRect, guiLabel, viewer.MaxZoomFactorTextureQuality);

                    if (maxRenderingQuality != viewer.MaxZoomFactorTextureQuality)
                    {
                        viewer.MaxZoomFactorTextureQuality = maxRenderingQuality;

                        m_MaxZoomFactorTextureQuality.floatValue = viewer.MaxZoomFactorTextureQuality;
                    }
                }

                EditorGUILayout.PropertyField(m_RenderAnnotations, new GUIContent("Render Annotations"), GUILayout.ExpandWidth(false));
                EditorGUILayout.PropertyField(m_RenderGrayscale, new GUIContent("Render Grayscale"), GUILayout.ExpandWidth(false));

                GUILayout.Space(4.0f);
            }

            GUILayout.EndVertical();
        }
Exemplo n.º 6
0
        private void _toolManager_AnnotationAdded(Annot annotation)
        {
            // Update viewer after annotation added
            PDFViewer.Update(annotation, PDFViewer.GetCurrentPage());

            ResultSnapshot snap = _undoManager.TakeSnapshot();
        }
Exemplo n.º 7
0
        protected override void InitializeContent(byte[] bytes)
        {
            content = reader.FromBytes(bytes);
            var pdfViewer = new PDFViewer
            {
                Document = content,
                Dock     = DockStyle.Fill
            };

            contentPanel.Controls.Add(pdfViewer);
        }
Exemplo n.º 8
0
        public static void BuildPDFViewerWithin(GameObject root, PDFViewer prefabViewer)
        {
            if (root.transform.childCount > 0)
            {
                int c = root.transform.childCount;
                for (int i = 0; i < c; ++i)
                {
                    Destroy(root.transform.GetChild(0).gameObject);
                }
            }

            PDFViewer viewer = root.GetComponent <PDFViewer>();

            if (viewer == null)
            {
                viewer = root.AddComponent <PDFViewer>();
            }

            if (prefabViewer != null)
            {
                CopyViewer(prefabViewer, viewer);
            }

            RectTransform rootTransform = root.GetComponent <RectTransform>();

            if (rootTransform == null)
            {
                rootTransform           = root.AddComponent <RectTransform>();
                rootTransform.anchorMin = Vector2.zero;
                rootTransform.anchorMax = Vector2.one;
                rootTransform.offsetMin = Vector2.zero;
                rootTransform.offsetMax = Vector2.zero;
            }

            GameObject internalPrefab = (GameObject)AssetDatabase.LoadAssetAtPath(
                AssetDatabase.GUIDToAssetPath(AssetDatabase.FindAssets("PDFViewer_Internal")[0]), typeof(GameObject));

            GameObject viewerInternal = (GameObject)Instantiate(internalPrefab);

            PrefabUtility.DisconnectPrefabInstance(viewerInternal);

            viewerInternal.GetComponent <PDFViewerInternal>().m_PDFViewer = root.GetComponent <PDFViewer>();
            viewer.m_Internal   = viewerInternal.GetComponent <PDFViewerInternal>();
            viewerInternal.name = "_Internal";
            RectTransform internalRectTransform = viewerInternal.transform as RectTransform;

            internalRectTransform.SetParent(viewer.transform);
            internalRectTransform.anchorMin = Vector2.zero;
            internalRectTransform.anchorMax = Vector2.one;
            internalRectTransform.offsetMin = Vector2.zero;
            internalRectTransform.offsetMax = Vector2.zero;

            Selection.activeGameObject = root;
        }
        private void InitUI()
        {
            Size contentSize = UtilsHelper.GetPDFDisplayAreaSize();

            WindowsFormsHost1.SetValue(Canvas.WidthProperty, contentSize.Width);
            WindowsFormsHost1.SetValue(Canvas.HeightProperty, contentSize.Height);

            pdfViewer               = new PDFViewer();
            pdfViewer.Rotate        = 3;
            WindowsFormsHost1.Child = pdfViewer;
        }
Exemplo n.º 10
0
        protected override void OnEnable()
        {
            base.OnEnable();

            if (m_PDFViewer == null)
            {
                m_PDFViewer = GetComponentInParent <PDFViewer>();
            }

            m_PDFViewer.OnDocumentLoaded   += OnDocumentLoaded;
            m_PDFViewer.OnDocumentUnloaded += OnDocumentUnloaded;
        }
Exemplo n.º 11
0
        private void OnDocumentLoaded(PDFViewer sender, PDFDocument document)
        {
            if (m_ProgressiveSearch == null)
            {
                m_ProgressiveSearch = PDFProgressiveSearch.CreateSearch(m_PDFViewer.Document, sender.SearchTimeBudgetPerFrame);
            }

            m_ProgressiveSearch.OnSearchFinished  += OnSearchFinished;
            m_ProgressiveSearch.OnProgressChanged += OnProgressChanged;

            m_Registered = true;
        }
Exemplo n.º 12
0
        private void openTemplate()
        {
            if (Template.TemplateFile == null)
            {
                return;
            }

            //WinFormPDFViewer viewer = new WinFormPDFViewer();
            //viewer.LoadPDF ( this.Template.TemplateFile );

            PDFViewer.OpenOnSTAThread(Template.TemplateFile);
        }
        public void OnDocumentLoaded(PDFDocument document)
        {
#if !UNITY_WEBGL
            if (!m_Loaded && gameObject.activeInHierarchy)
            {
                m_Loaded   = true;
                m_Document = document;

                m_TopLevelItems = new List <RectTransform>();

                m_RectTransform = transform as RectTransform;
                m_LeftPanel     = transform.parent as RectTransform;

                PDFViewer   viewer       = GetComponentInParent <PDFViewer>();
                PDFBookmark rootBookmark = m_Document.GetRootBookmark(viewer);

                if (rootBookmark != null)
                {
                    m_ItemPrefab.gameObject.SetActive(true);

                    foreach (PDFBookmark child in rootBookmark.EnumerateChildrenBookmarks())
                    {
                        PDFBookmarkListItem item = null;

                        item = Instantiate(m_ItemPrefab.gameObject).GetComponent <PDFBookmarkListItem>();
                        RectTransform itemTransform = item.transform as RectTransform;
                        itemTransform.SetParent(m_BooksmarksContainer, false);
                        itemTransform.localScale = Vector3.one;
                        itemTransform.anchorMin  = new Vector2(0.0f, 1.0f);
                        itemTransform.anchorMax  = new Vector2(0.0f, 1.0f);
                        itemTransform.offsetMin  = Vector2.zero;
                        itemTransform.offsetMax  = Vector2.zero;

                        m_TopLevelItems.Add(item.transform as RectTransform);

                        item.Initilize(child, 0, false);
                    }

                    m_ItemPrefab.gameObject.SetActive(false);

                    m_Initialized = true;

                    if (GetComponentInParent <PDFViewerLeftPanel>().m_Thumbnails.gameObject.GetComponent <CanvasGroup>().alpha == 0.0f)
                    {
                        StartCoroutine(DelayedShow());
                    }
                }
            }
#endif
        }
Exemplo n.º 14
0
        private void AddTextSample()
        {
            var  workingDoc = PDFViewer.CurrentDocument;
            Page page       = workingDoc.GetPage(PDFViewer.CurrentPageNumber);

            if (page == null)
            {
                return;
            }

            _toolManager.CreateTool(ToolManager.ToolType.e_sticky_note_create);

            PDFViewer.Update();
        }
 private void btnPrint_Click(object sender, EventArgs e)
 {
     try
     {
         List <NssfContributionsDTO> _nssfcomputations = (List <NssfContributionsDTO>)bindingSourceNewNSSFComputation.List;
         PDFViewer _viewer = new PDFViewer(_nssfcomputations, _User, connection);
         _viewer.WindowState   = FormWindowState.Normal;
         _viewer.StartPosition = FormStartPosition.CenterScreen;
         _viewer.Show();
     }
     catch (Exception ex)
     {
         Utils.ShowError(ex);
     }
 }
Exemplo n.º 16
0
        public static void OpenDoc(string fullFilePath)
        {
            try
            {
                //Validamos que el fichero exista
                if (System.IO.File.Exists(fullFilePath))
                {
                    string extension = System.IO.Path.GetExtension(fullFilePath);
                    switch (extension.ToUpper())
                    {
                    case ".PDF":
                        PDFViewer pdfViewer = new PDFViewer();
                        pdfViewer.pdfFile = fullFilePath;
                        pdfViewer.ShowDialog();
                        break;

                    case ".JPG":
                    case ".PNG":
                        using (Form form = new Form())
                        {
                            PictureBox pb = new PictureBox();
                            pb.Dock = DockStyle.Fill;
                            pb.BackgroundImageLayout = ImageLayout.Center;
                            pb.Image = Image.FromFile(fullFilePath);

                            form.Text   = "Img Viewer";
                            form.Width  = 1280;
                            form.Height = 720;
                            form.Controls.Add(pb);
                            form.ShowDialog();
                        }
                        break;

                    default:
                        XtraMessageBox.Show("File not supported.");
                        break;
                    }
                }
                else
                {
                    XtraMessageBox.Show("File doesn't exist or server is down or inaccessible", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Exemplo n.º 17
0
        private void Redo()
        {
            if (_undoManager == null)
            {
                return;
            }

            if (!_undoManager.CanRedo())
            {
                return;
            }

            _undoManager.Redo();

            PDFViewer.Update(); // PDFViewer updates display
        }
Exemplo n.º 18
0
        public static void UpdateToVersion_30(GameObject root)
        {
            PDFViewer pdfViewer = root.GetComponent <PDFViewer>();

            Transform documentIcon = pdfViewer.m_Internal.m_TopPanel.Find("DocumentIcon");

            if (documentIcon != null)
            {
                DestroyImmediate(documentIcon.gameObject);
            }

            GameObject searchPanelPrefab =
                (GameObject)
                AssetDatabase.LoadAssetAtPath(
                    AssetDatabase.GUIDToAssetPath(AssetDatabase.FindAssets("PDFViewer_SearchPanel")[0]), typeof(GameObject));

            GameObject searchPanel = (GameObject)Instantiate(searchPanelPrefab);

            PrefabUtility.DisconnectPrefabInstance(searchPanel);

            pdfViewer.m_Internal.m_SearchPanel = searchPanel.transform as RectTransform;
            pdfViewer.m_Internal.m_SearchPanel.SetParent(pdfViewer.m_Internal.transform);
            pdfViewer.m_Internal.m_SearchPanel.SetSiblingIndex(pdfViewer.m_Internal.m_Viewport.GetSiblingIndex() + 1);
            pdfViewer.m_Internal.m_SearchPanel.anchoredPosition = new Vector2(-234.0f, -59.0f);
            pdfViewer.m_Internal.m_SearchPanel.sizeDelta        = new Vector2(400.0f, 150.0f);
            pdfViewer.m_Internal.m_SearchPanel.name             = "_SearchPanel";

            GameObject topPanelSearchPrefab =
                (GameObject)
                AssetDatabase.LoadAssetAtPath(
                    AssetDatabase.GUIDToAssetPath(AssetDatabase.FindAssets("PDFViewer_TopPanel_Search")[0]),
                    typeof(GameObject));

            GameObject topPanelSearch = (GameObject)Instantiate(topPanelSearchPrefab);

            PrefabUtility.DisconnectPrefabInstance(topPanelSearch);

            topPanelSearch.transform.SetParent(pdfViewer.m_Internal.m_TopPanel);
            (topPanelSearch.transform as RectTransform).anchoredPosition = Vector2.zero;
            topPanelSearch.name = "_SearchButton";

            pdfViewer.m_Internal.m_PageCountLabel.resizeTextForBestFit = true;
            pdfViewer.m_Internal.m_PageCountLabel.resizeTextMinSize    = 10;
            pdfViewer.m_Internal.m_PageCountLabel.resizeTextMaxSize    = 22;

            pdfViewer.m_Internal.m_Version = "3.0";
        }
Exemplo n.º 19
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            fileName = (string)e.Parameter;

            Assembly assembly = typeof(FormViewer).GetTypeInfo().Assembly;

            Stream stream = assembly.GetManifestResourceStream($"WoundManagementSystem.Assets.Forms.{fileName}");

            byte[] buffer = new byte[stream.Length];
            stream.Read(buffer, 0, buffer.Length);

            //Loads the PDF document.
            PdfLoadedDocument loadedDocument = new PdfLoadedDocument(buffer);

            PDFViewer.LoadDocument(loadedDocument);
        }
Exemplo n.º 20
0
        private void InitUI()
        {
            //设置窗体按比例尺寸
            double screenHeight = System.Windows.SystemParameters.PrimaryScreenHeight;
            double h            = screenHeight - SystemParameters.CaptionHeight - SystemParameters.MenuBarHeight;
            double w            = Math.Floor(Constants.A4Width * h / Constants.A4Height);

            this.SetValue(Window.WidthProperty, w);
            this.SetValue(Window.HeightProperty, h);
            this.SetValue(Window.TopProperty, 0d);
            this.SetValue(Window.LeftProperty, 0d);

            WindowsFormsHost1.SetValue(Canvas.WidthProperty, w);
            WindowsFormsHost1.SetValue(Canvas.HeightProperty, h);

            pdfReader = new PDFViewer();
            WindowsFormsHost1.Child = pdfReader;
        }
Exemplo n.º 21
0
        public Tests()
        {
            Application.Init();

            Window window = new Window("GtkPdfSharp")
            {
                WindowPosition = WindowPosition.Center,
            };

            window.DestroyEvent += OnDestroy;
            window.Realized     += OnRealized;

            pdf = new PDFViewer();
            window.Add(pdf);
            pdf.Show();

            window.SetSizeRequest(1280, 1024);
            window.Show();
        }
Exemplo n.º 22
0
        private void InspectSearchSettings()
        {
            PDFViewer viewer = (PDFViewer)target;

            if (viewer.m_Internal.m_SearchPanel != null)
            {
                GUILayout.BeginVertical("Box");

                if (EnterGroup("Search Settings", "Paroxe.PdfRenderer.PDFViewer.ShowSearchSettings"))
                {
                    EditorGUILayout.PropertyField(m_SearchResultColor, new GUIContent("Result Color"));
                    EditorGUILayout.PropertyField(m_SearchResultPadding, new GUIContent("Result Padding"));
                    EditorGUILayout.PropertyField(m_SearchTimeBudgetPerFrame, new GUIContent("Time (% per frame)"));

                    GUILayout.Space(4.0f);
                }

                GUILayout.EndVertical();
            }
        }
Exemplo n.º 23
0
 public Form1()
 {
     rp = new ResponseToSignDocument();
     InitializeComponent();
     lbIdPrefeitura.Text       = rp.IdPrefeitura.ToString();
     lbNomePrefeitura.Text     = rp.NomePrefeitura;
     lbIdSecretaria.Text       = rp.IdSecretaria.ToString();
     lbNomeSecretaria.Text     = rp.NomeSecretaria;
     lbIdAssinante.Text        = rp.IdAssinante.ToString();
     lbNomeAssinante.Text      = rp.NomeAssinante;
     lbTipoPessoa.Text         = rp.TipoPessoa;
     lbDocumentoAssinante.Text = rp.DocumentoAssinante;
     lbDataNascimento.Text     = (rp.DataNascimento.HasValue ? rp.DataNascimento.Value.ToString("dd/MM/yyyy") : "Não disponível.");
     lbEmail.Text          = rp.Email;
     lbNumeroTelefone.Text = rp.Telefone;
     lbMD5Documento.Text   = rp.MD5Documento;
     PDFViewer.src         = rp.URLDocumento;
     PDFViewer.Show();
     rp.Cert = EscolherCertificado(rp);
 }
Exemplo n.º 24
0
        public Viewer() : base("GtkPdfViewer", ApplicationFlags.None)
        {
            Init();

            Window window = new Window("GtkPdfSharp")
            {
                WindowPosition = WindowPosition.Center,
            };

            window.DestroyEvent += OnDestroy;
            window.Realized     += OnRealized;

            pdf = new PDFViewer();
            window.Add(pdf);
            pdf.Show();

            window.SetSizeRequest(1280, 1024);
            window.Show();

            Run();
        }
Exemplo n.º 25
0
        /// <summary>
        /// Handle when a file is dragged and dropped onto the PDFView Control
        /// </summary>
        private void PDFViewer_Drop(object sender, DragEventArgs e)
        {
            if (e.Data.GetDataPresent(DataFormats.FileDrop))
            {
                // Note: Assuming only 1 file was dropped
                string[] file_paths = (string[])e.Data.GetData(DataFormats.FileDrop);

                if (file_paths.Length > 0)
                {
                    // Let's only handle the first file dropped
                    string file_path = file_paths[0];

                    if (System.IO.Path.GetExtension(file_path) != ".pdf")
                    {
                        return;
                    }

                    PDFDoc doc = new PDFDoc(file_path);
                    PDFViewer.SetDoc(doc);
                }
            }
        }
Exemplo n.º 26
0
        protected virtual void OnEnable()
        {
            pdfViewer = (PDFViewer)target;

            m_Background1 = new GUIStyle();
            m_Background1.normal.background = MakeTex(600, 1, new Color(1.0f, 1.0f, 1.0f, 0.1f));
            m_Background2 = new GUIStyle();
            m_Background2.normal.background = MakeTex(600, 1, new Color(1.0f, 1.0f, 1.0f, 0.0f));
            m_Background3 = new GUIStyle();
            m_Background3.normal.background = MakeTex(600, 1, new Color(1.0f, 1.0f, 1.0f, 0.05f));

            MonoScript script     = MonoScript.FromScriptableObject(this);
            string     scriptPath = AssetDatabase.GetAssetPath(script);

            m_Logo =
                (Texture2D)
                AssetDatabase.LoadAssetAtPath(Path.GetDirectoryName(scriptPath) + "/logo_pv.png", typeof(Texture2D));

            if (m_ParoxeBanner == null)
            {
                m_ParoxeBanner = new PRParoxeBanner(Path.GetDirectoryName(scriptPath));
            }
        }
Exemplo n.º 27
0
 private void DisplaySchedule(object sender, EventArgs e)
 {
     PDFViewer.BringToFront();
     btnClose.BringToFront();
     PDFViewer.Visible = true;
     btnClose.Visible  = true;
     if (sender is Button)
     {
         var button = (Button)sender;
         CLOC = button.Parent.Parent.Name.ToString();
     }
     Control[] controls = this.Controls.Find(CLOC, true);
     if (controls.Length == 1) // 0 means not found, more - there are several controls with the same name
     {
         Item control = controls[0] as Item;
         if (control != null)
         {
         }
         MessageBox.Show(control.FullPath);
         PDFViewer.Navigate(control.FullPath + @"\4-Plans\Listings\1.pdf");
         btnClose.BringToFront();
     }
 }
Exemplo n.º 28
0
        private void openProfile(object obj)
        {
            if (obj is AthleteVM)
            {
                List <Athlete> athletes = new List <Athlete>();

                athletes.Add(((AthleteVM)obj).Athlete);

                string previewFile;

                try
                {
                    previewFile = Exports.GenerateAthleteProfile(athletes, false, PrintOptions.NO_PRINT, true, true);
                }
                catch (Exception ex)
                {
                    MessageBox.Show("Failed to open athletes profile sheets. \n" + ex.Message);
                    return;
                }

                PDFViewer.OpenOnSTAThread(previewFile);
            }
        }
Exemplo n.º 29
0
        private void viewPDFBTN_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            PDFViewer p = new PDFViewer(gridControl.GetFocusedRowCellValue("Location").ToString());

            p.Show();
        }
Exemplo n.º 30
0
 private void GetPDF()
 {
     PDFViewer.Navigate(Directory.GetCurrentDirectory() + "/AboutMathModel.pdf");
 }
		private void InitializeComponent()
		{
			ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(frmMain));
			this.tabControl1 = new TabControl();
			this.tabPage2 = new TabPage();
			this.labSearch = new Label();
			this.pdfViewer1 = new PDFViewer();
			this.label4 = new Label();
			this.butSearch = new Button();
			this.txtSearchWord = new TextBox();
			this.label3 = new Label();
			this.button2 = new Button();
			this.txtFindPDF = new TextBox();
			this.tabPage1 = new TabPage();
			this.button3 = new Button();
			this.listBox1 = new ListBox();
			this.pdfViewer2 = new PDFViewer();
			this.label5 = new Label();
			this.butAddBatch = new Button();
			this.txtBatchNumber = new TextBox();
			this.label2 = new Label();
			this.txtBatchPath = new TextBox();
			this.button1 = new Button();
			this.folderBrowserDialog1 = new FolderBrowserDialog();
			this.openFileDialog1 = new OpenFileDialog();
			this.openFileDialog2 = new OpenFileDialog();
			this.printPreviewDialog1 = new PrintPreviewDialog();
			this.tabControl1.SuspendLayout();
			this.tabPage2.SuspendLayout();
			this.tabPage1.SuspendLayout();
			base.SuspendLayout();
			this.tabControl1.Controls.Add(this.tabPage2);
			this.tabControl1.Controls.Add(this.tabPage1);
			this.tabControl1.Dock = DockStyle.Fill;
			this.tabControl1.Location = new Point(0, 0);
			this.tabControl1.Name = "tabControl1";
			this.tabControl1.SelectedIndex = 0;
			this.tabControl1.Size = new System.Drawing.Size(1199, 337);
			this.tabControl1.TabIndex = 0;
			this.tabControl1.SelectedIndexChanged += new EventHandler(this.tabControl1_SelectedIndexChanged);
			this.tabPage2.Controls.Add(this.labSearch);
			this.tabPage2.Controls.Add(this.pdfViewer1);
			this.tabPage2.Controls.Add(this.label4);
			this.tabPage2.Controls.Add(this.butSearch);
			this.tabPage2.Controls.Add(this.txtSearchWord);
			this.tabPage2.Controls.Add(this.label3);
			this.tabPage2.Controls.Add(this.button2);
			this.tabPage2.Controls.Add(this.txtFindPDF);
			this.tabPage2.Location = new Point(4, 22);
			this.tabPage2.Name = "tabPage2";
			this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
			this.tabPage2.Size = new System.Drawing.Size(1191, 311);
			this.tabPage2.TabIndex = 1;
			this.tabPage2.Text = "Search PDF's";
			this.tabPage2.UseVisualStyleBackColor = true;
			this.labSearch.AutoSize = true;
			this.labSearch.Location = new Point(800, 10);
			this.labSearch.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0);
			this.labSearch.Name = "labSearch";
			this.labSearch.Size = new System.Drawing.Size(130, 13);
			this.labSearch.TabIndex = 10;
			this.labSearch.Text = "Input Search String Below";
			this.pdfViewer1.BackColor = SystemColors.AppWorkspace;
            this.pdfViewer1.Document = null;
			this.pdfViewer1.Location = new Point(0, 25);
			this.pdfViewer1.Name = "pdfViewer1";
			this.pdfViewer1.PageViewMode = Apitron.PDF.Controls.PageViewMode.PageByPage;
			this.pdfViewer1.SearchHighlightColor = Color.FromArgb(128, 255, 255, 0);
			this.pdfViewer1.ShowToolbar = false;
			this.pdfViewer1.Size = new System.Drawing.Size(636, 506);
			this.pdfViewer1.TabIndex = 9;
			this.pdfViewer1.Zoom = 0.75f;
            this.pdfViewer1.SearchRequested += new System.EventHandler<Apitron.PDF.Controls.SearchRequestedEventArgs>(this.pdfViewer1_SearchRequested);
            this.pdfViewer1.SearchCompleted += new System.EventHandler<Apitron.PDF.Controls.SearchCompletedEventArgs>(this.pdfViewer1_SearchCompleted);
            //this.pdfViewer1.SearchRequested = new EventHandler<SearchRequestedEventArgs>(this.pdfViewer1_SearchRequested);
            //this.pdfViewer1.add_SearchCompleted(new EventHandler<SearchCompletedEventArgs>(this.pdfViewer1_SearchCompleted));
			this.label4.AutoSize = true;
			this.label4.Location = new Point(410, 3);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(170, 13);
			this.label4.TabIndex = 8;
			this.label4.Text = "Please put comma between pages";
			this.label4.Click += new EventHandler(this.label4_Click);
			this.butSearch.Location = new Point(689, 3);
			this.butSearch.Name = "butSearch";
			this.butSearch.Size = new System.Drawing.Size(96, 23);
			this.butSearch.TabIndex = 7;
			this.butSearch.Text = "Print to Default";
			this.butSearch.UseVisualStyleBackColor = true;
			this.butSearch.Click += new EventHandler(this.button3_Click);
			this.txtSearchWord.Location = new Point(594, 5);
			this.txtSearchWord.Name = "txtSearchWord";
			this.txtSearchWord.Size = new System.Drawing.Size(100, 20);
			this.txtSearchWord.TabIndex = 6;
			this.txtSearchWord.TextChanged += new EventHandler(this.textBox1_TextChanged);
			this.label3.AutoSize = true;
			this.label3.Location = new Point(3, 3);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(106, 13);
			this.label3.TabIndex = 5;
			this.label3.Text = "Start Typing in Batch";
			this.button2.Location = new Point(332, 0);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(75, 23);
			this.button2.TabIndex = 3;
			this.button2.Text = "Open Batch";
			this.button2.UseVisualStyleBackColor = true;
			this.button2.Click += new EventHandler(this.button2_Click);
			this.txtFindPDF.Location = new Point(111, 0);
			this.txtFindPDF.Name = "txtFindPDF";
			this.txtFindPDF.Size = new System.Drawing.Size(215, 20);
			this.txtFindPDF.TabIndex = 2;
			this.txtFindPDF.TextChanged += new EventHandler(this.txtFindPDF_TextChanged);
			this.txtFindPDF.Leave += new EventHandler(this.txtFindPDF_Leave);
			this.tabPage1.Controls.Add(this.button3);
			this.tabPage1.Controls.Add(this.listBox1);
			this.tabPage1.Controls.Add(this.pdfViewer2);
			this.tabPage1.Controls.Add(this.label5);
			this.tabPage1.Controls.Add(this.butAddBatch);
			this.tabPage1.Controls.Add(this.txtBatchNumber);
			this.tabPage1.Controls.Add(this.label2);
			this.tabPage1.Controls.Add(this.txtBatchPath);
			this.tabPage1.Controls.Add(this.button1);
			this.tabPage1.Location = new Point(4, 22);
			this.tabPage1.Name = "tabPage1";
			this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
			this.tabPage1.Size = new System.Drawing.Size(1191, 311);
			this.tabPage1.TabIndex = 0;
			this.tabPage1.Text = "Create Batch ID";
			this.tabPage1.UseVisualStyleBackColor = true;
			this.button3.Location = new Point(393, 4);
			this.button3.Name = "button3";
			this.button3.Size = new System.Drawing.Size(88, 23);
			this.button3.TabIndex = 17;
			this.button3.Text = "Refresh List";
			this.button3.UseVisualStyleBackColor = true;
			this.button3.Click += new EventHandler(this.button3_Click_1);
			this.listBox1.FormattingEnabled = true;
			this.listBox1.Location = new Point(546, 0);
			this.listBox1.Name = "listBox1";
			this.listBox1.Size = new System.Drawing.Size(621, 69);
			this.listBox1.TabIndex = 16;
			this.listBox1.MouseClick += new MouseEventHandler(this.listBox1_MouseClick);
			this.listBox1.SelectedIndexChanged += new EventHandler(this.listBox1_SelectedIndexChanged);
			this.listBox1.DoubleClick += new EventHandler(this.listBox1_DoubleClick);
			this.pdfViewer2.BackColor = SystemColors.AppWorkspace;
			this.pdfViewer2.Dock = DockStyle.Bottom;
			this.pdfViewer2.Document = null;
			this.pdfViewer2.Location = new Point(3, 172);
			this.pdfViewer2.Name = "pdfViewer2";
            this.pdfViewer2.PageViewMode = Apitron.PDF.Controls.PageViewMode.PageByPage;
			this.pdfViewer2.SearchHighlightColor = Color.FromArgb(128, 255, 255, 0);
			this.pdfViewer2.ShowToolbar = false;
			this.pdfViewer2.Size = new System.Drawing.Size(1185, 136);
			this.pdfViewer2.TabIndex = 15;
			this.pdfViewer2.Zoom = 0.75f;
			this.label5.AutoSize = true;
			this.label5.Location = new Point(485, 9);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(56, 13);
			this.label5.TabIndex = 14;
			this.label5.Text = "List of files";
			this.butAddBatch.Location = new Point(264, 4);
			this.butAddBatch.Name = "butAddBatch";
			this.butAddBatch.Size = new System.Drawing.Size(123, 23);
			this.butAddBatch.TabIndex = 5;
			this.butAddBatch.Text = "Enter PrimeSuite";
			this.butAddBatch.UseVisualStyleBackColor = true;
			this.butAddBatch.Click += new EventHandler(this.butAddBatch_Click);
			this.txtBatchNumber.Location = new Point(92, 4);
			this.txtBatchNumber.Name = "txtBatchNumber";
			this.txtBatchNumber.Size = new System.Drawing.Size(162, 20);
			this.txtBatchNumber.TabIndex = 4;
			this.label2.AutoSize = true;
			this.label2.Location = new Point(11, 7);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(75, 13);
			this.label2.TabIndex = 3;
			this.label2.Text = "Batch Number";
			this.txtBatchPath.Location = new Point(1149, 36);
			this.txtBatchPath.Name = "txtBatchPath";
			this.txtBatchPath.Size = new System.Drawing.Size(18, 20);
			this.txtBatchPath.TabIndex = 1;
			this.txtBatchPath.Visible = false;
			this.button1.Location = new Point(1113, 20);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(75, 23);
			this.button1.TabIndex = 0;
			this.button1.Text = "Select";
			this.button1.UseVisualStyleBackColor = true;
			this.button1.Visible = false;
			this.button1.Click += new EventHandler(this.button1_Click);
			this.openFileDialog1.FileName = "openFileDialog1";
			this.openFileDialog2.FileName = "openFileDialog1";
			this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
			this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
			this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
			this.printPreviewDialog1.Enabled = true;
			this.printPreviewDialog1.Icon = (System.Drawing.Icon)componentResourceManager.GetObject("printPreviewDialog1.Icon");
			this.printPreviewDialog1.Name = "printPreviewDialog1";
			this.printPreviewDialog1.Visible = false;
			base.AutoScaleDimensions = new SizeF(6f, 13f);
			base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			base.ClientSize = new System.Drawing.Size(1199, 337);
			base.Controls.Add(this.tabControl1);
			base.Name = "frmMain";
			this.Text = "EOB Scanning ver 1.8 8/12/2015";
			base.WindowState = FormWindowState.Maximized;
			base.Load += new EventHandler(this.frmMain_Load);
			this.tabControl1.ResumeLayout(false);
			this.tabPage2.ResumeLayout(false);
			this.tabPage2.PerformLayout();
			this.tabPage1.ResumeLayout(false);
			this.tabPage1.PerformLayout();
			base.ResumeLayout(false);
		}