コード例 #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.label1                  = new System.Windows.Forms.Label();
     this._treeView               = new JetBrains.Omea.GUIControls.ResourceTreeView();
     this._syncMailCategory       = new JetBrains.Omea.GUIControls.CheckBoxSettingEditor();
     this._chkShowExcludedFolders = new JetBrains.Omea.GUIControls.CheckBoxSettingEditor();
     btnSelAll   = new Button();
     btnUnselAll = new Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(0, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(284, 88);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Select the Outlook folders you would like to access from Omea. Mail in folders yo" +
                             "u do not select will not be indexed.";
     //
     // _treeView
     //
     this._treeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this._treeView.CheckBoxes        = true;
     this._treeView.CheckedSetValue   = 0;
     this._treeView.CheckedUnsetValue = 1;
     this._treeView.DoubleBuffer      = false;
     this._treeView.ImageIndex        = -1;
     this._treeView.Location          = new System.Drawing.Point(0, 88);
     this._treeView.MultiSelect       = false;
     this._treeView.Name                  = "_treeView";
     this._treeView.NodePainter           = null;
     this._treeView.ParentProperty        = 0;
     this._treeView.ResourceChildProvider = null;
     this._treeView.SelectedImageIndex    = -1;
     this._treeView.SelectedNodes         = new System.Windows.Forms.TreeNode[0];
     this._treeView.ShowContextMenu       = false;
     this._treeView.ShowRootResource      = false;
     this._treeView.Size                  = new System.Drawing.Size(200, 92);
     this._treeView.TabIndex              = 4;
     this._treeView.ThreeStateCheckboxes  = false;
     this._treeView.AfterCheck           += new System.Windows.Forms.TreeViewEventHandler(this.OnAfterCheck);
     //
     // _syncMailCategory
     //
     this._syncMailCategory.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this._syncMailCategory.Changed     = false;
     this._syncMailCategory.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this._syncMailCategory.InvertValue = false;
     this._syncMailCategory.Location    = new System.Drawing.Point(4, 180);
     this._syncMailCategory.Name        = "_syncMailCategory";
     this._syncMailCategory.Size        = new System.Drawing.Size(272, 24);
     this._syncMailCategory.TabIndex    = 19;
     this._syncMailCategory.Tag         = "";
     this._syncMailCategory.Text        = "&Synchronize categories for mail";
     //
     // btnSelAll
     //
     this.btnSelAll.Anchor    = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.btnSelAll.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnSelAll.Location  = new System.Drawing.Point(210, 88);
     this.btnSelAll.Text      = "Select All";
     this.btnSelAll.Name      = "btnSelAll";
     this.btnSelAll.Size      = new System.Drawing.Size(75, 24);
     this.btnSelAll.Click    += new EventHandler(btnSelAll_Click);
     this.btnSelAll.TabIndex  = 2;
     //
     // btnUnselAll
     //
     this.btnUnselAll.Anchor    = (System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.btnUnselAll.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnUnselAll.Location  = new System.Drawing.Point(210, 118);
     this.btnUnselAll.Text      = "Unselect All";
     this.btnUnselAll.Name      = "btnUnselAll";
     this.btnUnselAll.Size      = new System.Drawing.Size(75, 24);
     this.btnUnselAll.Click    += new EventHandler(btnUnselAll_Click);
     this.btnUnselAll.TabIndex  = 3;
     //
     // _chkShowExcludedFolders
     //
     this._chkShowExcludedFolders.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this._chkShowExcludedFolders.Changed     = false;
     this._chkShowExcludedFolders.InvertValue = false;
     this._chkShowExcludedFolders.Location    = new System.Drawing.Point(4, 204);
     this._chkShowExcludedFolders.Name        = "_chkShowExcludedFolders";
     this._chkShowExcludedFolders.Size        = new System.Drawing.Size(272, 24);
     this._chkShowExcludedFolders.TabIndex    = 20;
     this._chkShowExcludedFolders.Text        = "Show &excluded folders";
     //
     // OutlookOptionsPane_IgnoredFolders
     //
     this.Controls.Add(this._chkShowExcludedFolders);
     this.Controls.Add(this._syncMailCategory);
     this.Controls.Add(this.btnSelAll);
     this.Controls.Add(this.btnUnselAll);
     this.Controls.Add(this._treeView);
     this.Controls.Add(this.label1);
     this.Name = "OutlookOptionsPane_IgnoredFolders";
     this.Size = new System.Drawing.Size(284, 232);
     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.label1            = new System.Windows.Forms.Label();
     this._treeView         = new JetBrains.Omea.OutlookPlugin.MAPIFolderTreeView();
     this._syncTaskCategory = new JetBrains.Omea.GUIControls.CheckBoxSettingEditor();
     this._taskExport       = new JetBrains.Omea.GUIControls.CheckBoxSettingEditor();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(0, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(284, 88);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Select the Outlook task folders you would like to synchronize with Omea. Tasks fr" +
                             "om the selected folders will be imported into Omea.";
     //
     // _treeView
     //
     this._treeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                    | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this._treeView.DoubleBuffer         = false;
     this._treeView.ImageIndex           = -1;
     this._treeView.Location             = new System.Drawing.Point(0, 88);
     this._treeView.MultiSelect          = false;
     this._treeView.Name                 = "_treeView";
     this._treeView.NodePainter          = null;
     this._treeView.SelectedImageIndex   = -1;
     this._treeView.SelectedNodes        = new System.Windows.Forms.TreeNode[0];
     this._treeView.Size                 = new System.Drawing.Size(284, 92);
     this._treeView.TabIndex             = 4;
     this._treeView.ThreeStateCheckboxes = false;
     //
     // _syncTaskCategory
     //
     this._syncTaskCategory.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this._syncTaskCategory.Changed     = false;
     this._syncTaskCategory.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this._syncTaskCategory.InvertValue = false;
     this._syncTaskCategory.Location    = new System.Drawing.Point(4, 204);
     this._syncTaskCategory.Name        = "_syncTaskCategory";
     this._syncTaskCategory.Size        = new System.Drawing.Size(272, 24);
     this._syncTaskCategory.TabIndex    = 18;
     this._syncTaskCategory.Tag         = "";
     this._syncTaskCategory.Text        = "&Synchronize categories for tasks";
     //
     // _taskExport
     //
     this._taskExport.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this._taskExport.Changed     = false;
     this._taskExport.FlatStyle   = System.Windows.Forms.FlatStyle.System;
     this._taskExport.InvertValue = false;
     this._taskExport.Location    = new System.Drawing.Point(4, 180);
     this._taskExport.Name        = "_taskExport";
     this._taskExport.Size        = new System.Drawing.Size(272, 24);
     this._taskExport.TabIndex    = 11;
     this._taskExport.Text        = "&Export tasks to Outlook";
     //
     // OutlookOptionsPane_Tasks
     //
     this.Controls.Add(this._taskExport);
     this.Controls.Add(this._syncTaskCategory);
     this.Controls.Add(this._treeView);
     this.Controls.Add(this.label1);
     this.Name = "OutlookOptionsPane_Tasks";
     this.Size = new System.Drawing.Size(284, 232);
     this.ResumeLayout(false);
 }