コード例 #1
0
 /// <summary>
 ///   Required method for Designer support - do not modify the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertiesFolderRuleApplyDialog));
     this.buttonOK                = new System.Windows.Forms.Button();
     this.buttonCancel            = new System.Windows.Forms.Button();
     this.label1                  = new System.Windows.Forms.Label();
     this.label2                  = new System.Windows.Forms.Label();
     this.ruleNameLabel           = new System.Windows.Forms.Label();
     this.foldersList             = new System.Windows.Forms.ImageList(this.components);
     this.tree                    = new Kesco.App.Win.DocView.FolderTree.FolderTree();
     this.ApplySubFoldersCheckBox = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // buttonOK
     //
     resources.ApplyResources(this.buttonOK, "buttonOK");
     this.buttonOK.Name   = "buttonOK";
     this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
     //
     // buttonCancel
     //
     resources.ApplyResources(this.buttonCancel, "buttonCancel");
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Click       += new System.EventHandler(this.buttonCancel_Click);
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // ruleNameLabel
     //
     resources.ApplyResources(this.ruleNameLabel, "ruleNameLabel");
     this.ruleNameLabel.Name = "ruleNameLabel";
     //
     // foldersList
     //
     this.foldersList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("foldersList.ImageStream")));
     this.foldersList.TransparentColor = System.Drawing.SystemColors.Window;
     this.foldersList.Images.SetKeyName(0, "");
     this.foldersList.Images.SetKeyName(1, "");
     this.foldersList.Images.SetKeyName(2, "");
     this.foldersList.Images.SetKeyName(3, "");
     this.foldersList.Images.SetKeyName(4, "");
     this.foldersList.Images.SetKeyName(5, "");
     this.foldersList.Images.SetKeyName(6, "");
     this.foldersList.Images.SetKeyName(7, "");
     this.foldersList.Images.SetKeyName(8, "");
     this.foldersList.Images.SetKeyName(9, "");
     this.foldersList.Images.SetKeyName(10, "");
     this.foldersList.Images.SetKeyName(11, "");
     //
     // tree
     //
     resources.ApplyResources(this.tree, "tree");
     this.tree.CheckBoxes   = true;
     this.tree.DrawMode     = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText;
     this.tree.ImageList    = this.foldersList;
     this.tree.ItemHeight   = 16;
     this.tree.Name         = "tree";
     this.tree.SelectedNode = null;
     this.tree.AfterCheck  += new System.Windows.Forms.TreeViewEventHandler(this.tree_AfterCheck);
     //
     // ApplySubFoldersCheckBox
     //
     resources.ApplyResources(this.ApplySubFoldersCheckBox, "ApplySubFoldersCheckBox");
     this.ApplySubFoldersCheckBox.Name = "ApplySubFoldersCheckBox";
     //
     // PropertiesFolderRuleApplyDialog
     //
     this.AcceptButton = this.buttonOK;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.buttonCancel;
     this.Controls.Add(this.tree);
     this.Controls.Add(this.ApplySubFoldersCheckBox);
     this.Controls.Add(this.ruleNameLabel);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "PropertiesFolderRuleApplyDialog";
     this.Load           += new System.EventHandler(this.PropertiesFolderRuleApplyDialog_Load);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FolderSelectDialog));
     this.tree               = new Kesco.App.Win.DocView.FolderTree.FolderTree();
     this.foldersList        = new System.Windows.Forms.ImageList(this.components);
     this.buttonOK           = new System.Windows.Forms.Button();
     this.buttonCancel       = new System.Windows.Forms.Button();
     this.label1             = new System.Windows.Forms.Label();
     this.doc                = new System.Windows.Forms.RichTextBox();
     this.buttonCreateFolder = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // tree
     //
     this.tree.AllowDrop = true;
     resources.ApplyResources(this.tree, "tree");
     this.tree.DrawMode      = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText;
     this.tree.HideSelection = false;
     this.tree.ImageList     = this.foldersList;
     this.tree.ItemHeight    = 16;
     this.tree.Name          = "tree";
     this.tree.SelectedNode  = null;
     this.tree.AfterSelect  += new System.Windows.Forms.TreeViewEventHandler(this.tree_AfterSelect);
     //
     // foldersList
     //
     this.foldersList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("foldersList.ImageStream")));
     this.foldersList.TransparentColor = System.Drawing.SystemColors.Window;
     this.foldersList.Images.SetKeyName(0, "");
     this.foldersList.Images.SetKeyName(1, "");
     this.foldersList.Images.SetKeyName(2, "");
     this.foldersList.Images.SetKeyName(3, "");
     this.foldersList.Images.SetKeyName(4, "");
     this.foldersList.Images.SetKeyName(5, "");
     this.foldersList.Images.SetKeyName(6, "");
     this.foldersList.Images.SetKeyName(7, "");
     this.foldersList.Images.SetKeyName(8, "");
     this.foldersList.Images.SetKeyName(9, "");
     this.foldersList.Images.SetKeyName(10, "");
     this.foldersList.Images.SetKeyName(11, "");
     //
     // buttonOK
     //
     resources.ApplyResources(this.buttonOK, "buttonOK");
     this.buttonOK.Name   = "buttonOK";
     this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
     //
     // buttonCancel
     //
     resources.ApplyResources(this.buttonCancel, "buttonCancel");
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Click       += new System.EventHandler(this.buttonCancel_Click);
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // doc
     //
     resources.ApplyResources(this.doc, "doc");
     this.doc.Name     = "doc";
     this.doc.ReadOnly = true;
     //
     // buttonCreateFolder
     //
     resources.ApplyResources(this.buttonCreateFolder, "buttonCreateFolder");
     this.buttonCreateFolder.Name = "buttonCreateFolder";
     this.buttonCreateFolder.UseVisualStyleBackColor = true;
     this.buttonCreateFolder.Click += new System.EventHandler(this.buttonCreateFolder_Click);
     //
     // FolderSelectDialog
     //
     this.AcceptButton = this.buttonOK;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.buttonCancel;
     this.Controls.Add(this.buttonCreateFolder);
     this.Controls.Add(this.doc);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.tree);
     this.Controls.Add(this.buttonCancel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FolderSelectDialog";
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <summary>
 ///   Required method for Designer support - do not modify the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NewImageAddDialog));
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle     dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     this.panelBottom     = new System.Windows.Forms.Panel();
     this.buttonAdd       = new System.Windows.Forms.Button();
     this.chbImageMain    = new System.Windows.Forms.CheckBox();
     this.buttonCancel    = new System.Windows.Forms.Button();
     this.buttonSave      = new System.Windows.Forms.Button();
     this.panelTree       = new System.Windows.Forms.Panel();
     this.docGrid         = new Kesco.App.Win.DocView.Grids.DocGrid();
     this.splitterH       = new System.Windows.Forms.Splitter();
     this.tree            = new Kesco.App.Win.DocView.FolderTree.FolderTree();
     this.foldersList     = new System.Windows.Forms.ImageList(this.components);
     this.panelDocControl = new System.Windows.Forms.Panel();
     this.groupBoxPages   = new System.Windows.Forms.GroupBox();
     this.minPageBox      = new System.Windows.Forms.NumericUpDown();
     this.maxPageBox      = new System.Windows.Forms.NumericUpDown();
     this.label3          = new System.Windows.Forms.Label();
     this.rbSelectedPages = new System.Windows.Forms.RadioButton();
     this.rbAllPages      = new System.Windows.Forms.RadioButton();
     this.docControl      = new Kesco.Lib.Win.Document.Controls.DocControl();
     this.splitterVert    = new System.Windows.Forms.Splitter();
     this.panelBottom.SuspendLayout();
     this.panelTree.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.docGrid)).BeginInit();
     this.panelDocControl.SuspendLayout();
     this.groupBoxPages.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.minPageBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.maxPageBox)).BeginInit();
     this.SuspendLayout();
     //
     // panelBottom
     //
     this.panelBottom.Controls.Add(this.buttonAdd);
     this.panelBottom.Controls.Add(this.chbImageMain);
     this.panelBottom.Controls.Add(this.buttonCancel);
     this.panelBottom.Controls.Add(this.buttonSave);
     resources.ApplyResources(this.panelBottom, "panelBottom");
     this.panelBottom.Name = "panelBottom";
     //
     // buttonAdd
     //
     resources.ApplyResources(this.buttonAdd, "buttonAdd");
     this.buttonAdd.Name = "buttonAdd";
     this.buttonAdd.UseVisualStyleBackColor = true;
     this.buttonAdd.Click += new System.EventHandler(this.buttonAdd_Click);
     //
     // chbImageMain
     //
     this.chbImageMain.Checked    = true;
     this.chbImageMain.CheckState = System.Windows.Forms.CheckState.Checked;
     resources.ApplyResources(this.chbImageMain, "chbImageMain");
     this.chbImageMain.Name = "chbImageMain";
     //
     // buttonCancel
     //
     resources.ApplyResources(this.buttonCancel, "buttonCancel");
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Click       += new System.EventHandler(this.buttonCancel_Click);
     //
     // buttonSave
     //
     resources.ApplyResources(this.buttonSave, "buttonSave");
     this.buttonSave.Name   = "buttonSave";
     this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click);
     //
     // panelTree
     //
     this.panelTree.Controls.Add(this.docGrid);
     this.panelTree.Controls.Add(this.splitterH);
     this.panelTree.Controls.Add(this.tree);
     resources.ApplyResources(this.panelTree, "panelTree");
     this.panelTree.Name = "panelTree";
     //
     // docGrid
     //
     this.docGrid.AllowUserToAddRows            = false;
     this.docGrid.AllowUserToDeleteRows         = false;
     this.docGrid.AllowUserToResizeRows         = false;
     this.docGrid.BackgroundColor               = System.Drawing.SystemColors.Window;
     this.docGrid.ColumnHeadersBorderStyle      = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
     dataGridViewCellStyle1.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor           = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font                = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     dataGridViewCellStyle1.ForeColor           = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle1.SelectionBackColor  = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor  = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode            = System.Windows.Forms.DataGridViewTriState.False;
     this.docGrid.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.docGrid.ColumnHeadersHeightSizeMode   = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
     dataGridViewCellStyle2.Alignment           = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor           = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font                = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     dataGridViewCellStyle2.ForeColor           = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor  = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor  = System.Drawing.Color.White;
     dataGridViewCellStyle2.WrapMode            = System.Windows.Forms.DataGridViewTriState.False;
     this.docGrid.DefaultCellStyle              = dataGridViewCellStyle2;
     resources.ApplyResources(this.docGrid, "docGrid");
     this.docGrid.EditMode                = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
     this.docGrid.ImageTime               = new System.DateTime(((long)(0)));
     this.docGrid.MainForm                = null;
     this.docGrid.Name                    = "docGrid";
     this.docGrid.ReadOnly                = true;
     this.docGrid.RowHeadersVisible       = false;
     this.docGrid.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
     this.docGrid.SelectionMode           = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.docGrid.ShowCellErrors          = false;
     this.docGrid.ShowEditingIcon         = false;
     this.docGrid.ShowRowErrors           = false;
     this.docGrid.Style                   = null;
     //
     // splitterH
     //
     resources.ApplyResources(this.splitterH, "splitterH");
     this.splitterH.Name    = "splitterH";
     this.splitterH.TabStop = false;
     //
     // tree
     //
     resources.ApplyResources(this.tree, "tree");
     this.tree.DrawMode     = System.Windows.Forms.TreeViewDrawMode.OwnerDrawText;
     this.tree.ImageList    = this.foldersList;
     this.tree.ItemHeight   = 16;
     this.tree.Name         = "tree";
     this.tree.SelectedNode = null;
     this.tree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tree_AfterSelect);
     //
     // foldersList
     //
     this.foldersList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("foldersList.ImageStream")));
     this.foldersList.TransparentColor = System.Drawing.SystemColors.Window;
     this.foldersList.Images.SetKeyName(0, "");
     this.foldersList.Images.SetKeyName(1, "");
     this.foldersList.Images.SetKeyName(2, "");
     this.foldersList.Images.SetKeyName(3, "");
     this.foldersList.Images.SetKeyName(4, "");
     this.foldersList.Images.SetKeyName(5, "");
     this.foldersList.Images.SetKeyName(6, "");
     this.foldersList.Images.SetKeyName(7, "");
     this.foldersList.Images.SetKeyName(8, "");
     this.foldersList.Images.SetKeyName(9, "");
     this.foldersList.Images.SetKeyName(10, "");
     this.foldersList.Images.SetKeyName(11, "");
     //
     // panelDocControl
     //
     this.panelDocControl.Controls.Add(this.groupBoxPages);
     this.panelDocControl.Controls.Add(this.docControl);
     resources.ApplyResources(this.panelDocControl, "panelDocControl");
     this.panelDocControl.Name = "panelDocControl";
     //
     // groupBoxPages
     //
     this.groupBoxPages.Controls.Add(this.minPageBox);
     this.groupBoxPages.Controls.Add(this.maxPageBox);
     this.groupBoxPages.Controls.Add(this.label3);
     this.groupBoxPages.Controls.Add(this.rbSelectedPages);
     this.groupBoxPages.Controls.Add(this.rbAllPages);
     resources.ApplyResources(this.groupBoxPages, "groupBoxPages");
     this.groupBoxPages.Name    = "groupBoxPages";
     this.groupBoxPages.TabStop = false;
     //
     // minPageBox
     //
     resources.ApplyResources(this.minPageBox, "minPageBox");
     this.minPageBox.Name = "minPageBox";
     //
     // maxPageBox
     //
     resources.ApplyResources(this.maxPageBox, "maxPageBox");
     this.maxPageBox.Name = "maxPageBox";
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // rbSelectedPages
     //
     resources.ApplyResources(this.rbSelectedPages, "rbSelectedPages");
     this.rbSelectedPages.Name = "rbSelectedPages";
     //
     // rbAllPages
     //
     this.rbAllPages.Checked = true;
     resources.ApplyResources(this.rbAllPages, "rbAllPages");
     this.rbAllPages.Name    = "rbAllPages";
     this.rbAllPages.TabStop = true;
     //
     // docControl
     //
     resources.ApplyResources(this.docControl, "docControl");
     this.docControl.AnnotationDraw         = false;
     this.docControl.CurDocString           = null;
     this.docControl.Cursor                 = System.Windows.Forms.Cursors.WaitCursor;
     this.docControl.DocumentID             = 0;
     this.docControl.EmpName                = null;
     this.docControl.ForceRelicate          = false;
     this.docControl.ImageID                = -1;
     this.docControl.ImagesPanelOrientation = Kesco.Lib.Win.ImageControl.ImageControl.TypeThumbnailPanelOrientation.Left;
     this.docControl.IsEditNotes            = false;
     this.docControl.IsMain                 = false;
     this.docControl.IsMoveImage            = true;
     this.docControl.Name           = "docControl";
     this.docControl.Page           = 0;
     this.docControl.SelectionMode  = false;
     this.docControl.ShowThumbPanel = true;
     this.docControl.ShowToolBar    = true;
     this.docControl.ShowWebPanel   = false;
     this.docControl.SplinterPlace  = new System.Drawing.Point(200, 50);
     this.docControl.TabStop        = false;
     this.docControl.WatchOnFile    = false;
     this.docControl.Zoom           = 100;
     this.docControl.ZoomText       = "";
     //
     // splitterVert
     //
     resources.ApplyResources(this.splitterVert, "splitterVert");
     this.splitterVert.Name    = "splitterVert";
     this.splitterVert.TabStop = false;
     //
     // NewImageAddDialog
     //
     this.AcceptButton = this.buttonSave;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this.buttonCancel;
     this.Controls.Add(this.splitterVert);
     this.Controls.Add(this.panelDocControl);
     this.Controls.Add(this.panelTree);
     this.Controls.Add(this.panelBottom);
     this.Name  = "NewImageAddDialog";
     this.Load += new System.EventHandler(this.NewImageAddDialog_Load);
     this.panelBottom.ResumeLayout(false);
     this.panelTree.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.docGrid)).EndInit();
     this.panelDocControl.ResumeLayout(false);
     this.groupBoxPages.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.minPageBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.maxPageBox)).EndInit();
     this.ResumeLayout(false);
 }