Пример #1
0
        private Control CreateValueLabel()
        {
            JetTextBox edtValue = new JetTextBox();

            edtValue.Font        = _boldFont;
            edtValue.Anchor      = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top;
            edtValue.ReadOnly    = true;
            edtValue.BackColor   = BackColor;
            edtValue.BorderStyle = BorderStyle.None;
            return(edtValue);
        }
Пример #2
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponentSelf()
        {
            _txtTitle = new JetTextBox();
            _toolbar  = new RichEditToolbar();
            _htmled   = new MshtmlEdit();
            Closing  += new CancelEventHandler(OnBeforeCloseForm);
            SuspendLayout();
            //
            // _txtTitle
            //
            _txtTitle.Location     = new Point(36, 100);
            _txtTitle.Name         = "_txtTitle";
            _txtTitle.TabIndex     = 1;
            _txtTitle.Text         = "";
            _txtTitle.Dock         = DockStyle.Top;
            _txtTitle.TextChanged += new EventHandler(OnTitleChanged);
            _txtTitle.KeyDown     += new KeyEventHandler(OnEditorKeyDown);
            //
            // _htmled
            //
            _htmled.Name     = "_htmled";
            _htmled.TabIndex = 2;
            _htmled.Dock     = DockStyle.Fill;
            _htmled.add_KeyDown(new KeyEventHandler(OnEditorKeyDown));
            //
            // _toolbar
            //
//			_toolbar.DropDownArrows = true;
            _toolbar.Location = new Point(0, 0);
            _toolbar.Name     = "_toolbar";
            _toolbar.TabStop  = true;
            _toolbar.TabIndex = 3;
            //
            // _panelBody
            //
            _panelBody             = new Panel();
            _panelBody.BorderStyle = BorderStyle.Fixed3D;
            _panelBody.Controls.Add(_htmled);
            _panelBody.Dock     = DockStyle.Fill;
            _panelBody.Name     = "_panelBody";
            _panelBody.TabIndex = 2;
            //
            // BlogExtensionComposer
            //
            AutoScaleBaseSize = new Size(5, 13);
            ClientSize        = new Size(800, 600);
            Controls.Add(_panelBody);
            Controls.Add(_txtTitle);
            Controls.Add(_toolbar);
            Name = "BlogExtensionComposer";
            Text = "Compose a Blog Entry";
            ResumeLayout(false);
        }
Пример #3
0
        public override void EditResource(IResource res)
        {
            IResourceList accounts = res.GetLinksOfType(null, Props.MirandaAcct);

            accounts.Sort(new SortSettings(ResourceProps.Type, true));
            int curY = 4;

            _typeLabelPool.MoveControlsToPool();
            _valueLabelPool.MoveControlsToPool();

            foreach (IResource acct in accounts)
            {
                string acctType;
                switch (acct.Type)
                {
                case ResourceTypes.MirandaICQAccount:    acctType = "ICQ";    break;

                case ResourceTypes.MirandaAIMAccount:    acctType = "AIM";    break;

                case ResourceTypes.MirandaJabberAccount: acctType = "Jabber"; break;

                case ResourceTypes.MirandaYahooAccount:  acctType = "Yahoo";  break;

                default: acctType = "Other"; break;
                }

                Label lblType = (Label)_typeLabelPool.GetControl();
                lblType.Text     = acctType + ":";
                lblType.Location = new Point(4, curY);

                JetTextBox lblValue = (JetTextBox)_valueLabelPool.GetControl();
                if (acct.Type == ResourceTypes.MirandaICQAccount)
                {
                    lblValue.Text = acct.GetPropText("UIN");
                }
                else
                {
                    lblValue.Text = acct.DisplayName;
                }

                lblValue.Location = new Point(88, curY);
                lblValue.Width    = Width - 96;

                curY += 20;
            }

            _typeLabelPool.RemovePooledControls();
            _valueLabelPool.RemovePooledControls();

            Height = curY + 4;
        }
Пример #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._editPhoneName  = new JetTextBox();
     this._addPhoneButton = new System.Windows.Forms.Button();
     this._phoneMenu      = new System.Windows.Forms.ContextMenu();
     this._deleteItem     = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // _editPhoneName
     //
     this._editPhoneName.Location = new System.Drawing.Point(4, 4);
     this._editPhoneName.Name     = "_editPhoneName";
     this._editPhoneName.Size     = new System.Drawing.Size(72, 20);
     this._editPhoneName.TabIndex = 0;
     this._editPhoneName.Text     = "<enter name>";
     this._editPhoneName.Visible  = false;
     this._editPhoneName.KeyDown += new System.Windows.Forms.KeyEventHandler(this._editPhoneName_KeyDown);
     this._editPhoneName.Leave   += new System.EventHandler(this._editPhoneName_Leave);
     this._editPhoneName.Enter   += new System.EventHandler(this._editPhoneName_Enter);
     //
     // _addPhoneButton
     //
     this._addPhoneButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this._addPhoneButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this._addPhoneButton.Location  = new System.Drawing.Point(88, 4);
     this._addPhoneButton.Name      = "_addPhoneButton";
     this._addPhoneButton.Size      = new System.Drawing.Size(72, 23);
     this._addPhoneButton.TabIndex  = 1;
     this._addPhoneButton.Text      = "New...";
     this._addPhoneButton.Click    += new System.EventHandler(this._addPhoneButton_Click);
     //
     // _phoneMenu
     //
     this._phoneMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this._deleteItem });
     //
     // _deleteItem
     //
     this._deleteItem.Index  = 0;
     this._deleteItem.Text   = "Delete";
     this._deleteItem.Click += new System.EventHandler(this._deleteItem_Click);
     //
     // PhoneBlock
     //
     this.Controls.Add(this._editPhoneName);
     this.Controls.Add(this._addPhoneButton);
     this.Name = "PhoneBlock";
     this.Size = new System.Drawing.Size(216, 120);
     this.ResumeLayout(false);
 }
Пример #5
0
        private void OnKeyPressed(object sender, KeyEventArgs e)
        {
            if ((e.KeyCode == Keys.Enter && e.Control) || (e.KeyCode == Keys.Escape && !e.Control))
            {
                e.Handled = true;

                /*
                 * if( e.KeyCode == Keys.Enter && AnnotationText.Length > 0 )
                 *  SaveAnnotation( AnnotationText, Res );
                 * else
                 * if(( e.KeyCode == Keys.Enter && AnnotationText.Length == 0 ) ||
                 * ( e.KeyCode == Keys.Escape && SourceText.Length == 0 ))
                 *  DeleteAnnotation( Res );
                 *
                 * if( e.KeyCode == Keys.Escape && SourceText.Length > 0 )
                 *  WriteText( SourceText );
                 */
                if (AnnotationText.Length > 0)
                {
                    SaveAnnotation(AnnotationText, _resource);
                    if (IsPersistentMode)
                    {
                        if (Core.ResourceBrowser.ResourceListVisible)
                        {
                            Core.ResourceBrowser.FocusResourceList();
                        }
                        else
                        {
                            this.OnDeactivate(null);
                        }
                    }
                    else
                    {
                        Hide();
                    }
                }
                else
                {
                    DeleteAnnotation(_resource);
                    Hide();
                }
            }
            else if (!JetTextBox.IsEditorKey(e.KeyData))
            {
                Core.ActionManager.ExecuteKeyboardAction(null, e.KeyCode | e.Modifiers);
                IsModified = true;
            }
        }
Пример #6
0
 private void InitializeComponent()
 {
     _lblICQ   = new System.Windows.Forms.Label();
     _uinsList = new JetTextBox();
     SuspendLayout();
     //
     // _lblICQ
     //
     _lblICQ.FlatStyle = System.Windows.Forms.FlatStyle.System;
     _lblICQ.Location  = new Point(4, 0);
     _lblICQ.Name      = "_lblICQ";
     _lblICQ.Size      = new Size(68, 16);
     _lblICQ.TabIndex  = 2;
     _lblICQ.Text      = "ICQ:";
     //
     // _uinsList
     //
     _uinsList.Anchor = (((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                            | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)));
     _uinsList.BackColor       = SystemColors.Control;
     _uinsList.BorderStyle     = System.Windows.Forms.BorderStyle.None;
     _uinsList.ContextProvider = null;
     _uinsList.EmptyText       = null;
     _uinsList.Location        = new Point(88, 0);
     _uinsList.Multiline       = false;
     _uinsList.Name            = "_uinsList";
     _uinsList.ReadOnly        = true;
     _uinsList.Size            = new Size(120, 24);
     _uinsList.TabIndex        = 3;
     _uinsList.Text            = "";
     //
     // ICQContactBlock
     //
     Controls.Add(_uinsList);
     Controls.Add(_lblICQ);
     Name = "ICQContactBlock";
     Size = new Size(208, 30);
     ResumeLayout(false);
 }
Пример #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._topPanel  = new System.Windows.Forms.Panel();
     this._edtSearch = new JetTextBox();
     this._topPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // _topPanel
     //
     this._topPanel.Controls.Add(this._edtSearch);
     this._topPanel.Dock     = System.Windows.Forms.DockStyle.Top;
     this._topPanel.Location = new System.Drawing.Point(0, 0);
     this._topPanel.Name     = "_topPanel";
     this._topPanel.Size     = new System.Drawing.Size(292, 28);
     this._topPanel.TabIndex = 0;
     //
     // _edtSearch
     //
     this._edtSearch.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this._edtSearch.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this._edtSearch.Location = new System.Drawing.Point(4, 4);
     this._edtSearch.Name     = "_edtSearch";
     this._edtSearch.Size     = new System.Drawing.Size(284, 21);
     this._edtSearch.TabIndex = 0;
     this._edtSearch.Text     = "";
     this._edtSearch.IncrementalSearchUpdated += new EventHandler(_edtSearch_IncrementalSearchUpdated);
     //
     // ResourceListView2TestForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.Controls.Add(this._topPanel);
     this.Name = "ResourceListView2TestForm";
     this.Text = "ResourceListView2TestForm";
     this._topPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Пример #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._edtSearchQuery          = new JetTextBox();
     this.label1                   = new System.Windows.Forms.Label();
     this._lblError                = new System.Windows.Forms.Label();
     this._lblProgress             = new System.Windows.Forms.Label();
     this._lblEngineNameInProgress = new Label();
     this._lblTitle                = new System.Windows.Forms.Label();
     this.btnSelAll                = new System.Windows.Forms.Button();
     this.btnUnselAll              = new System.Windows.Forms.Button();
     this._searchEngines           = new JetListView();
     _chkSaveSelection             = new CheckBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(12, 24);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(372, 17);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Enter search keywords:";
     //
     // _edtSearchQuery
     //
     this._edtSearchQuery.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this._edtSearchQuery.Location     = new System.Drawing.Point(12, 44);
     this._edtSearchQuery.Name         = "_edtSearchQuery";
     this._edtSearchQuery.Size         = new System.Drawing.Size(355, 20);
     this._edtSearchQuery.TabIndex     = 2;
     this._edtSearchQuery.Text         = "";
     this._edtSearchQuery.KeyDown     += new System.Windows.Forms.KeyEventHandler(this._edtURL_KeyDown);
     this._edtSearchQuery.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this._edtURL_KeyPress);
     this._edtSearchQuery.TextChanged += new EventHandler(StateChanged);
     this._edtSearchQuery.Anchor       = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top;
     //
     // _lblError
     //
     this._lblError.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this._lblError.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this._lblError.Location  = new System.Drawing.Point(12, 252);
     this._lblError.Name      = "_lblError";
     this._lblError.Size      = new System.Drawing.Size(344, 72);
     this._lblError.TabIndex  = 5;
     this._lblError.Text      = "label3";
     this._lblError.Visible   = false;
     //
     // labelTitle
     //
     this._lblTitle.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this._lblTitle.Location  = new System.Drawing.Point(12, 76);
     this._lblTitle.Name      = "_lblTitle";
     this._lblTitle.Size      = new System.Drawing.Size(372, 17);
     this._lblTitle.TabIndex  = 3;
     this._lblTitle.Text      = "Choose Search Engine:";
     //
     // _searchEngines
     //
     this._searchEngines.Location = new System.Drawing.Point(12, 96);
     this._searchEngines.Name     = "_searchEngines";
     this._searchEngines.Size     = new System.Drawing.Size(260, 205);
     this._searchEngines.TabIndex = 4;
     this._searchEngines.TabStop  = false;
     this._searchEngines.Text     = "Choose Search Engine";
     this._searchEngines.Anchor   = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top;
     //
     // btnSelAll
     //
     this.btnSelAll.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnSelAll.Location  = new System.Drawing.Point(295, 96);
     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  = 5;
     this.btnSelAll.Anchor    = AnchorStyles.Right | AnchorStyles.Top;
     //
     // btnUnselAll
     //
     this.btnUnselAll.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnUnselAll.Location  = new System.Drawing.Point(295, 126);
     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  = 6;
     this.btnUnselAll.Anchor    = AnchorStyles.Right | AnchorStyles.Top;
     //
     // _chkSaveSelection
     //
     _chkSaveSelection.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     _chkSaveSelection.Location        = new System.Drawing.Point(12, _searchEngines.Bottom + 6);
     _chkSaveSelection.Text            = "&Remember selection";
     _chkSaveSelection.Name            = "_chkSaveSelection";
     _chkSaveSelection.Size            = new System.Drawing.Size(300, 20);
     _chkSaveSelection.TabIndex        = 7;
     _chkSaveSelection.Anchor          = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom;
     _chkSaveSelection.CheckedChanged += new EventHandler(_chkSaveSelection_CheckedChanged);
     //
     // _lblEngineNameInProgress
     //
     this._lblEngineNameInProgress.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this._lblEngineNameInProgress.Location  = new System.Drawing.Point(16, _searchEngines.Bottom + 32);
     this._lblEngineNameInProgress.Name      = "_lblProgress";
     this._lblEngineNameInProgress.Size      = new System.Drawing.Size(344, 48);
     this._lblEngineNameInProgress.TabIndex  = 8;
     this._lblEngineNameInProgress.Font      = new Font("Tahoma", 10.0f, FontStyle.Bold);
     this._lblEngineNameInProgress.Anchor    = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom;
     //
     // _lblProgress
     //
     this._lblProgress.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this._lblProgress.Location  = new System.Drawing.Point(16, _searchEngines.Bottom + 52);
     this._lblProgress.Name      = "_lblProgress";
     this._lblProgress.Size      = new System.Drawing.Size(344, 48);
     this._lblProgress.TabIndex  = 9;
     this._lblProgress.Anchor    = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom;
     //
     // SearchEnginesPane
     //
     this.Controls.Add(this._searchEngines);
     this.Controls.Add(this._lblProgress);
     this.Controls.Add(this._lblEngineNameInProgress);
     this.Controls.Add(this._lblError);
     this.Controls.Add(this._edtSearchQuery);
     this.Controls.Add(this.btnSelAll);
     this.Controls.Add(this.btnUnselAll);
     this.Controls.Add(_chkSaveSelection);
     this.Controls.Add(this._lblTitle);
     this.Controls.Add(this.label1);
     this.Name            = "SearchEnginesPane";
     this.Size            = new System.Drawing.Size(384, 396);
     this.Anchor          = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom | AnchorStyles.Top;
     this.VisibleChanged += new EventHandler(SearchEnginesPane_VisibleChanged);
     this.ResumeLayout(false);
 }
Пример #9
0
        public void CreateComponents()
        {
            _lblAvailable           = new Label();
            _lblAvailable.Text      = "Available:";
            _lblAvailable.FlatStyle = FlatStyle.System;
            _lblAvailable.AutoSize  = true;

            _lblInWorkspace           = new Label();
            _lblInWorkspace.FlatStyle = FlatStyle.System;
            _lblInWorkspace.AutoSize  = true;

            _lblProcessing           = new Label();
            _lblProcessing.FlatStyle = FlatStyle.System;
            _lblProcessing.AutoSize  = true;
            _lblProcessing.Visible   = false;
            _lblProcessing.Text      = "Processing...";

            _btnAdd    = CreateTabButton("Add", new EventHandler(OnAddListClick));
            _btnRemove = CreateTabButton("Remove", new EventHandler(OnRemoveListClick));

            //
            // _lvAvailable
            //
            _lvAvailable = new ResourceListView2();
            _lvAvailable.Columns.Add(new ResourceIconColumn());
            _lvAvailable.AddColumn(ResourceProps.DisplayName).AutoSize = true;

            IResourceList tabResources = Core.ResourceStore.GetAllResourcesLive(_resourceTypes [0]);

            tabResources.Sort(new int[] { ResourceProps.DisplayName }, true);
            _listAvailable            = tabResources;
            _lvAvailable.DataProvider = new ResourceListDataProvider(_listAvailable);

            _nameJetFilter = new ResourceNameJetFilter("");
            _lvAvailable.Filters.Add(_nameJetFilter);
            _lvAvailable.HeaderStyle              = ColumnHeaderStyle.None;
            _lvAvailable.ShowContextMenu          = false;
            _lvAvailable.ExecuteDoubleClickAction = false;
            _lvAvailable.AllowDrop         = false;
            _lvAvailable.DoubleClick      += new HandledEventHandler(OnAddListClick);
            _lvAvailable.SelectionChanged += new EventHandler(OnListSelectionChanged);

            WorkspaceManager    workspaceManager = Core.WorkspaceManager as WorkspaceManager;
            IResourceNodeFilter filter           = workspaceManager.GetAvailSelectorFilter(_resourceTypes [0]);

            if (filter != null)
            {
                _lvAvailable.Filters.Add(new TreeFilterJetWrapper(filter));
            }

            _edtFind           = new JetTextBox();
            _edtFind.EmptyText = "<type a name to find>";
            _edtFind.IncrementalSearchUpdated += new EventHandler(OnListIncSearch);

            //
            // _lvInWorkspace
            //
            _lvInWorkspace = new ResourceListView2();
            _lvInWorkspace.Columns.Add(new ResourceIconColumn());
            _lvInWorkspace.AddColumn(ResourceProps.DisplayName).AutoSize = true;

            _lvInWorkspace.HeaderStyle              = ColumnHeaderStyle.None;
            _lvInWorkspace.ShowContextMenu          = false;
            _lvInWorkspace.ExecuteDoubleClickAction = false;
            _lvInWorkspace.AllowDrop         = false;
            _lvInWorkspace.DoubleClick      += new HandledEventHandler(OnRemoveListClick);
            _lvInWorkspace.SelectionChanged += new EventHandler(OnListSelectionChanged);

            UpdateListSelection();

            Controls.AddRange(new Control[] { _lblAvailable, _edtFind, _lvAvailable,
                                              _btnAdd, _btnRemove, _lblProcessing,
                                              _lblInWorkspace, _lvInWorkspace });
        }
Пример #10
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponentSelf()
        {
            _subject  = new Label();
            _txtTitle = new JetTextBox();
//            _toolbar = new RichEditToolbarFull();
            _toolbar         = new RichEditToolbar();
            _htmled          = new MshtmlEdit();
            _panelSubject    = new Panel();
            _panelBody       = new Panel();
            _panelCategories = new Panel();
            _selector        = new CategoriesSelector();
            SuspendLayout();

            //
            // _panelSubject
            //
            _panelSubject.Location = new Point(0, 0);
            _panelSubject.Size     = new Size(800, 30);
            _panelSubject.Controls.Add(_subject);
            _panelSubject.Controls.Add(_txtTitle);
            _panelSubject.Dock = DockStyle.Top;
            //
            // _subject
            //
            _subject.Location = new Point(4, 7);
            _subject.Name     = "_subject";
            _subject.TabStop  = false;
            _subject.Text     = "&Subject:";
            _subject.Size     = new Size(65, 25);
            //
            // _txtTitle
            //
            _txtTitle.Location     = new Point(80, 4);
            _txtTitle.Size         = new Size(700, 25);
            _txtTitle.Name         = "_txtTitle";
            _txtTitle.TabStop      = false;
            _txtTitle.Text         = "";
            _txtTitle.TextChanged += OnTitleChanged;
            _txtTitle.KeyDown     += OnEditorKeyDown;
            //
            // _htmled
            //
            _htmled.Name     = "_htmled";
            _htmled.TabIndex = 1;
            _htmled.Dock     = DockStyle.Fill;
            _htmled.add_KeyDown(new KeyEventHandler(OnEditorKeyDown));
            _htmled.add_PropertyChanged(new EventHandler(OnPropChanged));
            _htmled.add_PasteHandler(new EventHandler(OnPropChanged));
            //
            // _toolbar
            //
//			_toolbar.DropDownArrows = true;
            _toolbar.Location = new Point(36, 0);
            _toolbar.Name     = "_toolbar";
            _toolbar.TabStop  = false;
            _toolbar.Dock     = DockStyle.Top;
            //
            // _panelBody
            //
            _panelBody.BorderStyle = BorderStyle.Fixed3D;
            _panelBody.Controls.Add(_htmled);
            _panelBody.Controls.Add(_toolbar);
            _panelBody.Dock     = DockStyle.Fill;
            _panelBody.Name     = "_panelBody";
            _panelBody.TabIndex = 1;
            //
            // _panelCategories
            //
            _panelCategories.Controls.Add(_selector);
            _panelCategories.BorderStyle = BorderStyle.Fixed3D;
            _panelCategories.Size        = new Size(800, 40);
            _panelCategories.Dock        = DockStyle.Bottom;
            _panelCategories.Name        = "_panelCategories";
            _panelCategories.TabIndex    = 2;
            //
            // _selector
            //
            _selector.Dock     = DockStyle.Fill;
            _selector.Location = new Point(0, 0);
            _selector.Name     = "_selector";
            _selector.Size     = new Size(320, 40);
            _selector.TabIndex = 3;
            //
            // NoteComposer
            //
            ClientSize = new Size(800, 600);
            Controls.Add(_panelBody);
            Controls.Add(_panelCategories);
            Controls.Add(_panelSubject);
            ParentChanged += NoteEditor_ParentChanged;
            Name           = "NoteComposer";
            Text           = "Edit a Note";
            ResumeLayout(false);
        }
Пример #11
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RemoteAnnotateForm));
     this.lblName       = new System.Windows.Forms.Label();
     this.lblURL        = new System.Windows.Forms.Label();
     this._nameBox      = new JetTextBox();
     this._urlLink      = new JetBrains.Omea.GUIControls.JetLinkLabel();
     _boxAnnotation     = new GroupBox();
     _edtAnnotation     = new System.Windows.Forms.TextBox();
     _panelCategories   = new CategoriesSelector();
     this._cancelButton = new System.Windows.Forms.Button();
     this._okButton     = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // lblName
     //
     this.lblName.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblName.Location  = new System.Drawing.Point(8, 10);
     this.lblName.Name      = "lblName";
     this.lblName.Size      = new System.Drawing.Size(48, 23);
     this.lblName.Text      = "Name:";
     //
     // _nameBox
     //
     this._nameBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this._nameBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._nameBox.Font        = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this._nameBox.Location    = new System.Drawing.Point(60, 8);
     this._nameBox.Name        = "_nameBox";
     this._nameBox.ReadOnly    = true;
     this._nameBox.Size        = new System.Drawing.Size(428, 14);
     this._nameBox.TabIndex    = 0;
     this._nameBox.Text        = "Bookmark name";
     //
     // lblURL
     //
     this.lblURL.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblURL.Location  = new System.Drawing.Point(8, 35);
     this.lblURL.Name      = "lblURL";
     this.lblURL.Size      = new System.Drawing.Size(48, 23);
     this.lblURL.Text      = "URL:";
     //
     // _urlLink
     //
     this._urlLink.Cursor    = System.Windows.Forms.Cursors.Hand;
     this._urlLink.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(70)), ((System.Byte)(70)), ((System.Byte)(211)));
     this._urlLink.Location  = new System.Drawing.Point(60, 35);
     this._urlLink.Name      = "_urlLink";
     this._urlLink.Size      = new System.Drawing.Size(0, 0);
     this._urlLink.TabIndex  = 1;
     this._urlLink.Click    += new System.EventHandler(this._urlLink_Click);
     //
     // _boxAnnotation
     //
     this._boxAnnotation.Controls.Add(_edtAnnotation);
     this._boxAnnotation.Anchor    = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
     this._boxAnnotation.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this._boxAnnotation.Location  = new System.Drawing.Point(8, 60);
     this._boxAnnotation.Name      = "boxAnnotation";
     this._boxAnnotation.Size      = new System.Drawing.Size(480, 124);
     this._boxAnnotation.TabIndex  = 2;
     this._boxAnnotation.Text      = "&Annotation";
     //
     // _edtAnnotation
     //
     this._edtAnnotation.AcceptsReturn = true;
     this._edtAnnotation.Anchor        = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     this._edtAnnotation.Location      = new System.Drawing.Point(8, 16);
     this._edtAnnotation.Multiline     = true;
     this._edtAnnotation.Name          = "_edtAnnotation";
     this._edtAnnotation.ScrollBars    = System.Windows.Forms.ScrollBars.Vertical;
     this._edtAnnotation.Size          = new System.Drawing.Size(464, 98);
     this._edtAnnotation.TabIndex      = 1;
     //
     // _panelCategories
     //
     this._panelCategories.Anchor   = (AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom);
     this._panelCategories.Location = new System.Drawing.Point(8, 192);
     this._panelCategories.Name     = "_subjectDescriptionPanel";
     this._panelCategories.Size     = new System.Drawing.Size(480, 40);
     this._panelCategories.TabIndex = 3;
     //
     // _okButton
     //
     this._okButton.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._okButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this._okButton.Location  = new System.Drawing.Point(328, 236);
     this._okButton.Name      = "_okButton";
     this._okButton.TabIndex  = 5;
     this._okButton.Text      = "OK";
     this._okButton.Click    += new System.EventHandler(this._okButton_Click);
     //
     // _cancelButton
     //
     this._cancelButton.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._cancelButton.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this._cancelButton.Location     = new System.Drawing.Point(412, 236);
     this._cancelButton.Name         = "_cancelButton";
     this._cancelButton.TabIndex     = 6;
     this._cancelButton.Text         = "Cancel";
     this._cancelButton.Click       += new System.EventHandler(this._cancelButton_Click);
     //
     // RemoteAnnotateForm
     //
     this.AcceptButton      = this._okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this._cancelButton;
     this.ClientSize        = new System.Drawing.Size(496, 266);
     this.Controls.Add(this.lblName);
     this.Controls.Add(this._nameBox);
     this.Controls.Add(this.lblURL);
     this.Controls.Add(this._urlLink);
     this.Controls.Add(_boxAnnotation);
     this.Controls.Add(_panelCategories);
     this.Controls.Add(this._okButton);
     this.Controls.Add(this._cancelButton);
     this.MinimumSize   = new System.Drawing.Size(400, 200);
     this.Name          = "RemoteAnnotateForm";
     this.ShowInTaskbar = true;
     this.Text          = "Annotate and Categorize Bookmark";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.RemoteAnnotateForm_Closing);
     this.ResumeLayout(false);
 }
Пример #12
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this._edtAnnotation    = new JetTextBox();
            this._edtName          = new JetTextBox();
            this._lblName          = new System.Windows.Forms.Label();
            this._richTextBox      = new JetRichTextBox();
            this._panelContent     = new System.Windows.Forms.Panel();
            this._panelAnnotation  = new System.Windows.Forms.Panel();
            this._panelTop         = new System.Windows.Forms.Panel();
            this._selector         = new CategoriesSelector();
            this._openOptionsPanel = new Panel();
            this._chkOpenAfterSave = new CheckBox();

            _boxAnnotation             = new System.Windows.Forms.GroupBox();
            _lblAnnotation             = new System.Windows.Forms.Label();
            _btnHideShowAnnotation     = new ImageListButton();
            _lblHideShowAnnotationText = new JetLinkLabel();

            this._panelTop.SuspendLayout();
            this._panelContent.SuspendLayout();
            this._panelAnnotation.SuspendLayout();
            this.SuspendLayout();
            //
            // _panelTop
            //
            this._panelTop.Controls.Add(this._lblName);
            this._panelTop.Controls.Add(this._edtName);
            this._panelTop.Dock     = System.Windows.Forms.DockStyle.Top;
            this._panelTop.Location = new System.Drawing.Point(0, 0);
            this._panelTop.Name     = "_panelTop";
            this._panelTop.Size     = new System.Drawing.Size(700, 28);
            this._panelTop.TabIndex = 0;
            //
            // lblName
            //
            this._lblName.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblName.Location  = new System.Drawing.Point(4, 8);
            this._lblName.Name      = "_lblName";
            this._lblName.Size      = new System.Drawing.Size(36, 16);
            this._lblName.TabIndex  = 0;
            this._lblName.Text      = "&Name:";
            //
            // _edtName
            //
            this._edtName.Anchor   = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this._edtName.Location = new System.Drawing.Point(44, 4);
            this._edtName.Name     = "_edtName";
            this._edtName.Size     = new System.Drawing.Size(648, 21);
            this._edtName.TabIndex = 1;
            this._edtName.Text     = "";

            //
            // _panelContent
            //
            this._panelContent.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this._panelContent.Controls.Add(this._richTextBox);
            this._panelContent.Dock     = System.Windows.Forms.DockStyle.Fill;
            this._panelContent.Location = new System.Drawing.Point(0, 28);
            this._panelContent.Name     = "_panelContent";
            this._panelContent.Size     = new System.Drawing.Size(700, 70);
            this._panelContent.TabIndex = 1;
            //
            // _richTextBox
            //
            this._richTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this._richTextBox.Dock        = System.Windows.Forms.DockStyle.Fill;
            this._richTextBox.Location    = new System.Drawing.Point(4, 0);
            this._richTextBox.Name        = "_richTextBox";
            this._richTextBox.ReadOnly    = true;
            this._richTextBox.Size        = new System.Drawing.Size(692, 60);
            this._richTextBox.TabIndex    = 0;
            this._richTextBox.Text        = "";
            //
            // _panelAnnotation
            //
            this._panelAnnotation.Dock     = System.Windows.Forms.DockStyle.Bottom;
            this._panelAnnotation.Size     = new System.Drawing.Size(340, 176);
            this._panelAnnotation.Location = new System.Drawing.Point(0, 168);
            this._panelAnnotation.Name     = "_panelAnnotation";
            this._panelAnnotation.TabIndex = 3;

            this._panelAnnotation.Controls.Add(_boxAnnotation);
            this._panelAnnotation.Controls.Add(_selector);
            //
            // _boxAnnotation
            //
            _boxAnnotation.Location  = new System.Drawing.Point(8, 4);
            _boxAnnotation.Anchor    = (AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right);
            _boxAnnotation.Name      = "_boxAnnotation";
            _boxAnnotation.Size      = new System.Drawing.Size(324, 132);
            _boxAnnotation.FlatStyle = FlatStyle.System;
            _boxAnnotation.TabStop   = false;

            _boxAnnotation.Controls.Add(_lblAnnotation);
            _boxAnnotation.Controls.Add(_btnHideShowAnnotation);
            _boxAnnotation.Controls.Add(_lblHideShowAnnotationText);
            _boxAnnotation.Controls.Add(_edtAnnotation);
            //
            // _edtAnnotation
            //
            this._edtAnnotation.Anchor     = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
            this._edtAnnotation.Location   = new System.Drawing.Point(8, 28);
            this._edtAnnotation.Multiline  = true;
            this._edtAnnotation.Name       = "_edtAnnotation";
            this._edtAnnotation.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this._edtAnnotation.Size       = new System.Drawing.Size(308, 95);
            this._edtAnnotation.TabIndex   = 1;
            this._edtAnnotation.Text       = "";
            //
            // labelAnnotation
            //
            _lblAnnotation.FlatStyle = System.Windows.Forms.FlatStyle.System;
            _lblAnnotation.Location  = new System.Drawing.Point(10, 10);
            _lblAnnotation.Name      = "labelExceptions";
            _lblAnnotation.Size      = new System.Drawing.Size(64, 16);
            _lblAnnotation.TabStop   = false;
            _lblAnnotation.TextAlign = ContentAlignment.MiddleLeft;
            _lblAnnotation.Text      = "Annotation";
            //
            // labelHideShowAnnotationText
            //
            _lblHideShowAnnotationText.Anchor    = (AnchorStyles.Top | AnchorStyles.Right);
            _lblHideShowAnnotationText.Location  = new System.Drawing.Point(270, 10);
            _lblHideShowAnnotationText.Name      = "labelHideShowExceptionsText";
            _lblHideShowAnnotationText.Size      = new System.Drawing.Size(28, 16);
            _lblHideShowAnnotationText.TabStop   = false;
            _lblHideShowAnnotationText.TextAlign = ContentAlignment.MiddleLeft;
            _lblHideShowAnnotationText.Text      = "Hide";
            _lblHideShowAnnotationText.Tag       = _btnHideShowAnnotation;
            _lblHideShowAnnotationText.Click    += new EventHandler(labelHideShowPanel_Click);
            //
            // buttonHideShowAnnotation
            //
            _btnHideShowAnnotation.Location = new System.Drawing.Point(300, 9);
            _btnHideShowAnnotation.Anchor   = (AnchorStyles.Top | AnchorStyles.Right);
            _btnHideShowAnnotation.Name     = "_btnHideShowAnnotation";
            _btnHideShowAnnotation.Size     = new System.Drawing.Size(16, 16);
            _btnHideShowAnnotation.TabIndex = 9;
            _btnHideShowAnnotation.Click   += new EventHandler(HideShowPanel_Click);
            _btnHideShowAnnotation.Cursor   = System.Windows.Forms.Cursors.Hand;

            _btnHideShowAnnotation.AddIcon(Utils.TryGetEmbeddedResourceIconFromAssembly("GUIControls", "GUIControls.Icons.CollapsePanel.ico"), ImageListButton.ButtonState.Normal);
            _btnHideShowAnnotation.AddIcon(Utils.TryGetEmbeddedResourceIconFromAssembly("GUIControls", "GUIControls.Icons.ExpandPanel.ico"), ImageListButton.ButtonState.Normal);
            _btnHideShowAnnotation.AddIcon(Utils.TryGetEmbeddedResourceIconFromAssembly("GUIControls", "GUIControls.Icons.CollapsePanelHover.ico"), ImageListButton.ButtonState.Hot);
            _btnHideShowAnnotation.AddIcon(Utils.TryGetEmbeddedResourceIconFromAssembly("GUIControls", "GUIControls.Icons.ExpandPanelHover.ico"), ImageListButton.ButtonState.Hot);
            //
            // _selector
            //
            this._selector.Anchor   = (AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom);
            this._selector.Location = new System.Drawing.Point(8, 140);
            this._selector.Name     = "_selector";
            this._selector.Size     = new System.Drawing.Size(324, 40);
            this._selector.TabIndex = 3;
            //
            // _openOptionsPanel
            //
            this._openOptionsPanel.Dock = DockStyle.Bottom;
            this._openOptionsPanel.Name = "_openOptionsPanel";
            this._openOptionsPanel.Size = new Size(200, 24);
            this._openOptionsPanel.Controls.Add(_chkOpenAfterSave);
            //
            // _chkOpenAfterSave
            //
            this._chkOpenAfterSave.FlatStyle = FlatStyle.System;
            this._chkOpenAfterSave.Location  = new Point(10, 4);
            this._chkOpenAfterSave.Size      = new Size(150, 20);
            this._chkOpenAfterSave.Text      = "Open clipping after save";
            //
            // FragmentEditPane
            //
            this.Controls.Add(this._panelContent);
            this.Controls.Add(this._panelAnnotation);
            this.Controls.Add(this._panelTop);
            this.Controls.Add(this._openOptionsPanel);
            this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
            this.Name            = "FragmentEditPane";
            this.Size            = new System.Drawing.Size(700, 428);
            this.Load           += new System.EventHandler(this.OnLoad);
            this.VisibleChanged += new EventHandler(OnFormVisibleChanged);
            this._panelContent.ResumeLayout(false);
            this._panelAnnotation.ResumeLayout(false);
            this._panelTop.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Пример #13
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this._folderBrowserDialog      = new System.Windows.Forms.FolderBrowserDialog();
            this._groupDbPath              = new System.Windows.Forms.GroupBox();
            this._lblDatabaseLocation      = new System.Windows.Forms.Label();
            this._btnBrowseDb              = new System.Windows.Forms.Button();
            this._edtDbPath                = new JetBrains.Omea.GUIControls.JetTextBox();
            this._lblRestartRequiredForDB  = new System.Windows.Forms.Label();
            this._lblRestartRequiredForLog = new System.Windows.Forms.Label();
            this._groupLogPath             = new System.Windows.Forms.GroupBox();
            this._lblLogLocation           = new System.Windows.Forms.Label();
            this._btnBrowseLogs            = new System.Windows.Forms.Button();
            this._edtLogPath               = new JetBrains.Omea.GUIControls.JetTextBox();
            this._backupGroup              = new System.Windows.Forms.GroupBox();
            this._backupBtn                = new System.Windows.Forms.Button();
            this._lblBackupLocation        = new System.Windows.Forms.Label();
            this._browseBackupDir          = new System.Windows.Forms.Button();
            this._backupPath               = new JetBrains.Omea.GUIControls.JetTextBox();
            this._enableBackupBox          = new System.Windows.Forms.CheckBox();
            this._groupDbPath.SuspendLayout();
            this._groupLogPath.SuspendLayout();
            this._backupGroup.SuspendLayout();
            this.SuspendLayout();

            #region Db Path
            //
            // _groupDbPath
            //
            this._groupDbPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this._groupDbPath.Controls.Add(this._lblDatabaseLocation);
            this._groupDbPath.Controls.Add(this._btnBrowseDb);
            this._groupDbPath.Controls.Add(this._edtDbPath);
            this._groupDbPath.Controls.Add(_lblRestartRequiredForDB);
            this._groupDbPath.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._groupDbPath.Location  = new System.Drawing.Point(0, 0);
            this._groupDbPath.Name      = "_groupDbPath";
            this._groupDbPath.Size      = new System.Drawing.Size(416, 108);
            this._groupDbPath.TabIndex  = 15;
            this._groupDbPath.TabStop   = false;
            this._groupDbPath.Text      = "Database Path";
            //
            // _btnBrowseDb
            //
            this._btnBrowseDb.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this._btnBrowseDb.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._btnBrowseDb.Location  = new System.Drawing.Point(332, 21);
            this._btnBrowseDb.Name      = "_btnBrowseDb";
            this._btnBrowseDb.TabIndex  = 12;
            this._btnBrowseDb.Text      = "Browse...";
            this._btnBrowseDb.Click    += new System.EventHandler(this._btnBrowseDb_Click);
            //
            // _edtDbPath
            //
            this._edtDbPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
            this._edtDbPath.ContextProvider = null;
            this._edtDbPath.EmptyText       = null;
            this._edtDbPath.Location        = new System.Drawing.Point(7, 20);
            this._edtDbPath.Name            = "_edtDbPath";
            this._edtDbPath.Size            = new System.Drawing.Size(317, 21);
            this._edtDbPath.TabIndex        = 11;
            this._edtDbPath.Text            = "";
            this._edtDbPath.TextChanged    += new System.EventHandler(this._edtDbPath_TextChanged);
            //
            // _lblDatabaseLocation
            //
            this._lblDatabaseLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                     | System.Windows.Forms.AnchorStyles.Right)));
            this._lblDatabaseLocation.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblDatabaseLocation.Location  = new System.Drawing.Point(8, 55);
            this._lblDatabaseLocation.Name      = "_lblDatabaseLocation";
            this._lblDatabaseLocation.Size      = new System.Drawing.Size(396, 32);
            this._lblDatabaseLocation.TabIndex  = 18;
            this._lblDatabaseLocation.Text      = "This is where Omea stores its database. You will need at least 500 MB of free" +
                                                  " disk storage space at this location.";
            //
            // _lblRestartRequiredForDB
            //
            this._lblRestartRequiredForDB.Anchor    = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this._lblRestartRequiredForDB.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblRestartRequiredForDB.Location  = new System.Drawing.Point(8, 85);
            this._lblRestartRequiredForDB.Name      = "_lblRestartRequiredForDB";
            this._lblRestartRequiredForDB.Size      = new System.Drawing.Size(396, 18);
            this._lblRestartRequiredForDB.TabIndex  = 19;
            this._lblRestartRequiredForDB.Text      = "Restart Omea for the option to take an effect.";
            this._lblRestartRequiredForDB.ForeColor = Color.LightSlateGray;
            #endregion Db Path

            #region Log Path
            //
            // _groupLogPath
            //
            this._groupLogPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
            this._groupLogPath.Controls.Add(this._lblLogLocation);
            this._groupLogPath.Controls.Add(this._btnBrowseLogs);
            this._groupLogPath.Controls.Add(this._edtLogPath);
            this._groupLogPath.Controls.Add(_lblRestartRequiredForLog);
            this._groupLogPath.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._groupLogPath.Location  = new System.Drawing.Point(0, 112);
            this._groupLogPath.Name      = "_groupLogPath";
            this._groupLogPath.Size      = new System.Drawing.Size(416, 110);
            this._groupLogPath.TabIndex  = 16;
            this._groupLogPath.TabStop   = false;
            this._groupLogPath.Text      = "Log Files Path";
            //
            // _btnBrowseLogs
            //
            this._btnBrowseLogs.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this._btnBrowseLogs.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._btnBrowseLogs.Location  = new System.Drawing.Point(332, 21);
            this._btnBrowseLogs.Name      = "_btnBrowseLogs";
            this._btnBrowseLogs.TabIndex  = 16;
            this._btnBrowseLogs.Text      = "Browse...";
            this._btnBrowseLogs.Click    += new System.EventHandler(this._btnBrowseLogs_Click);
            //
            // _edtLogPath
            //
            this._edtLogPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
            this._edtLogPath.ContextProvider = null;
            this._edtLogPath.EmptyText       = null;
            this._edtLogPath.Location        = new System.Drawing.Point(4, 20);
            this._edtLogPath.Name            = "_edtLogPath";
            this._edtLogPath.Size            = new System.Drawing.Size(320, 21);
            this._edtLogPath.TabIndex        = 15;
            this._edtLogPath.Text            = "";
            //
            // _lblLogLocation
            //
            this._lblLogLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                | System.Windows.Forms.AnchorStyles.Right)));
            this._lblLogLocation.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblLogLocation.Location  = new System.Drawing.Point(8, 53);
            this._lblLogLocation.Name      = "_lblLogLocation";
            this._lblLogLocation.Size      = new System.Drawing.Size(396, 32);
            this._lblLogLocation.Text      = "This is where Omea stores its log files. They are useful to troubleshoot" +
                                             " problems with the product.";
            //
            // _lblRestartRequiredForLog
            //
            this._lblRestartRequiredForLog.Anchor    = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right);
            this._lblRestartRequiredForLog.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblRestartRequiredForLog.Location  = new System.Drawing.Point(8, 88);
            this._lblRestartRequiredForLog.Name      = "_lblRestartRequiredForDB";
            this._lblRestartRequiredForLog.Size      = new System.Drawing.Size(396, 18);
            this._lblRestartRequiredForLog.Text      = "Restart Omea for the option to take an effect.";
            this._lblRestartRequiredForLog.ForeColor = Color.LightSlateGray;
            #endregion Log Path

            #region Backup path
            //
            // _enableBackupBox
            //
            this._enableBackupBox.Location        = new System.Drawing.Point(0, 228);
            this._enableBackupBox.Name            = "_enableBackupBox";
            this._enableBackupBox.Size            = new System.Drawing.Size(184, 24);
            this._enableBackupBox.TabIndex        = 18;
            this._enableBackupBox.Text            = "Enable database backup";
            this._enableBackupBox.CheckedChanged += new System.EventHandler(this._enableBackupBox_CheckedChanged);
            //
            // _backupGroup
            //
            this._backupGroup.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this._backupGroup.Controls.Add(this._backupBtn);
            this._backupGroup.Controls.Add(this._lblBackupLocation);
            this._backupGroup.Controls.Add(this._browseBackupDir);
            this._backupGroup.Controls.Add(this._backupPath);
            this._backupGroup.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._backupGroup.Location  = new System.Drawing.Point(8, 252);
            this._backupGroup.Name      = "_backupGroup";
            this._backupGroup.Size      = new System.Drawing.Size(408, 88);
            this._backupGroup.TabIndex  = 17;
            this._backupGroup.TabStop   = false;
            this._backupGroup.Text      = "Database Backup Path";
            //
            // _backupBtn
            //
            this._backupBtn.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this._backupBtn.Location = new System.Drawing.Point(324, 53);
            this._backupBtn.Name     = "_backupBtn";
            this._backupBtn.TabIndex = 18;
            this._backupBtn.Text     = "Backup Now";
            this._backupBtn.Click   += new System.EventHandler(this._backupBtn_Click);
            //
            // _lblBackupLocation
            //
            this._lblBackupLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                   | System.Windows.Forms.AnchorStyles.Right)));
            this._lblBackupLocation.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblBackupLocation.Location  = new System.Drawing.Point(8, 54);
            this._lblBackupLocation.Name      = "_lblBackupLocation";
            this._lblBackupLocation.Size      = new System.Drawing.Size(308, 32);
            this._lblBackupLocation.TabIndex  = 17;
            this._lblBackupLocation.Text      = "This is where Omea will automatically store daily backup of its resources database.";
            //
            // _browseBackupDir
            //
            this._browseBackupDir.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this._browseBackupDir.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._browseBackupDir.Location  = new System.Drawing.Point(324, 22);
            this._browseBackupDir.Name      = "_browseBackupDir";
            this._browseBackupDir.TabIndex  = 16;
            this._browseBackupDir.Text      = "Browse...";
            this._browseBackupDir.Click    += new System.EventHandler(this._browseBackupDir_Click);
            //
            // _backupPath
            //
            this._backupPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
            this._backupPath.ContextProvider = null;
            this._backupPath.EmptyText       = null;
            this._backupPath.Location        = new System.Drawing.Point(4, 20);
            this._backupPath.Name            = "_backupPath";
            this._backupPath.Size            = new System.Drawing.Size(312, 21);
            this._backupPath.TabIndex        = 15;
            this._backupPath.Text            = "Here is the path to the database backup file";
            this._backupPath.TextChanged    += new System.EventHandler(this._backupPath_TextChanged);
            #endregion Backup path

            //
            // DatabasePathOptionsPane
            //
            this.Controls.Add(this._enableBackupBox);
            this.Controls.Add(this._backupGroup);
            this.Controls.Add(this._groupLogPath);
            this.Controls.Add(this._groupDbPath);
            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
            this.Name = "DatabasePathOptionsPane";
            this.Size = new System.Drawing.Size(420, 316);
            this._groupDbPath.ResumeLayout(false);
            this._groupLogPath.ResumeLayout(false);
            this._backupGroup.ResumeLayout(false);
            this.ResumeLayout(false);
        }
Пример #14
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this._lblAddress             = new System.Windows.Forms.Label();
            this._edtAddress             = new JetTextBox();
            this._lblTitle               = new System.Windows.Forms.Label();
            this._edtTitle               = new JetTextBox();
            this._btnSave                = new System.Windows.Forms.Button();
            this.label3                  = new System.Windows.Forms.Label();
            this._lblHomepage            = new JetBrains.Omea.GUIControls.JetLinkLabel();
            this._grpDescription         = new System.Windows.Forms.GroupBox();
            this._edtDescription         = new JetTextBox();
            this._udUpdateFrequency      = new JetBrains.Omea.GUIControls.NumericUpDownSettingEditor();
            this._cmbUpdatePeriod        = new JetBrains.Omea.RSSPlugin.PeriodComboBox();
            this.label5                  = new System.Windows.Forms.Label();
            this._lblAuthor              = new JetBrains.Omea.GUIControls.JetLinkLabel();
            this.label6                  = new System.Windows.Forms.Label();
            this._lblLastUpdated         = new System.Windows.Forms.Label();
            this._btnCancel              = new System.Windows.Forms.Button();
            this._grpLogin               = new System.Windows.Forms.GroupBox();
            this._edtPassword            = new JetBrains.Omea.GUIControls.StringSettingEditor();
            this._lblPassword            = new System.Windows.Forms.Label();
            this._edtUserName            = new JetBrains.Omea.GUIControls.StringSettingEditor();
            this._lblUserName            = new System.Windows.Forms.Label();
            this._chkAuthentication      = new System.Windows.Forms.CheckBox();
            this._chkUpdate              = new System.Windows.Forms.CheckBox();
            this._btnHelp                = new System.Windows.Forms.Button();
            this._image                  = new System.Windows.Forms.PictureBox();
            this._grpEnclosure           = new System.Windows.Forms.GroupBox();
            this._browseForFolderControl = new JetBrains.Omea.GUIControls.BrowseForFolderControl();

            _chkMarkReadOnLeave    = new CheckBoxSettingEditor();
            _chkAutoFollowLink     = new CheckBoxSettingEditor();
            _chkAutoUpdateComments = new CheckBoxSettingEditor();
            _chkAllowEqualPosts    = new CheckBoxSettingEditor();
            _chkAutoDownloadEncls  = new CheckBoxSettingEditor();

            _edtAnnotation   = new JetTextBox();
            _panelCategories = new Panel();
            _selector        = new CategoriesSelector();

            this._tabs          = new System.Windows.Forms.TabControl();
            this._tabFeedInfo   = new System.Windows.Forms.TabPage();
            this._tabSettings   = new System.Windows.Forms.TabPage();
            this._tabAnnotation = new System.Windows.Forms.TabPage();
            this._grpDescription.SuspendLayout();
            this._grpLogin.SuspendLayout();
            this._grpEnclosure.SuspendLayout();
            this._tabs.SuspendLayout();
            this._tabFeedInfo.SuspendLayout();
            this._tabSettings.SuspendLayout();
            this._tabAnnotation.SuspendLayout();
            this.SuspendLayout();
            //
            // label1
            //
            this._lblAddress.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblAddress.Location  = new System.Drawing.Point(8, 8);
            this._lblAddress.Name      = "_lblAddress";
            this._lblAddress.Size      = new System.Drawing.Size(56, 17);
            this._lblAddress.TabIndex  = 0;
            this._lblAddress.Text      = "&Address:";
            //
            // _edtAddress
            //
            this._edtAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                            | System.Windows.Forms.AnchorStyles.Right)));
            this._edtAddress.Location     = new System.Drawing.Point(84, 4);
            this._edtAddress.Name         = "_edtAddress";
            this._edtAddress.Size         = new System.Drawing.Size(316, 21);
            this._edtAddress.TabIndex     = 1;
            this._edtAddress.Text         = "";
            this._edtAddress.TextChanged += new System.EventHandler(this._edtAddress_TextChanged);
            //
            // label2
            //
            this._lblTitle.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblTitle.Location  = new System.Drawing.Point(8, 32);
            this._lblTitle.Name      = "_lblTitle";
            this._lblTitle.Size      = new System.Drawing.Size(56, 17);
            this._lblTitle.TabIndex  = 2;
            this._lblTitle.Text      = "&Title:";
            //
            // _edtTitle
            //
            this._edtTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
            this._edtTitle.Location = new System.Drawing.Point(84, 28);
            this._edtTitle.Name     = "_edtTitle";
            this._edtTitle.Size     = new System.Drawing.Size(316, 21);
            this._edtTitle.TabIndex = 3;
            this._edtTitle.Text     = "";
            //
            // label3
            //
            this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.label3.Location  = new System.Drawing.Point(8, 56);
            this.label3.Name      = "label3";
            this.label3.Size      = new System.Drawing.Size(68, 17);
            this.label3.TabIndex  = 4;
            this.label3.Text      = "Homepage:";
            //
            // _lblHomepage
            //
            this._lblHomepage.Cursor    = System.Windows.Forms.Cursors.Hand;
            this._lblHomepage.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(70)), ((System.Byte)(70)), ((System.Byte)(211)));
            this._lblHomepage.Location  = new System.Drawing.Point(84, 56);
            this._lblHomepage.Name      = "_lblHomepage";
            this._lblHomepage.Size      = new System.Drawing.Size(0, 0);
            this._lblHomepage.TabIndex  = 5;
            this._lblHomepage.Click    += new System.EventHandler(this._lblHomepage_LinkClicked);
            //
            // label5
            //
            this.label5.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.label5.Location  = new System.Drawing.Point(8, 80);
            this.label5.Name      = "label5";
            this.label5.Size      = new System.Drawing.Size(68, 18);
            this.label5.TabStop   = false;
            this.label5.Text      = "Author:";
            //
            // _lblAuthor
            //
            this._lblAuthor.Cursor    = System.Windows.Forms.Cursors.Hand;
            this._lblAuthor.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(70)), ((System.Byte)(70)), ((System.Byte)(211)));
            this._lblAuthor.Location  = new System.Drawing.Point(84, 80);
            this._lblAuthor.Name      = "_lblAuthor";
            this._lblAuthor.Size      = new System.Drawing.Size(0, 0);
            this._lblAuthor.TabStop   = false;
            this._lblAuthor.Click    += new System.EventHandler(this._lblAuthor_LinkClicked);
            //
            // label6
            //
            this.label6.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.label6.Location  = new System.Drawing.Point(8, 104);
            this.label6.Name      = "label6";
            this.label6.Size      = new System.Drawing.Size(68, 18);
            this.label6.TabIndex  = 13;
            this.label6.Text      = "Last updated:";
            //
            // _lblLastUpdated
            //
            this._lblLastUpdated.FlatStyle   = System.Windows.Forms.FlatStyle.System;
            this._lblLastUpdated.Location    = new System.Drawing.Point(84, 104);
            this._lblLastUpdated.Name        = "_lblLastUpdated";
            this._lblLastUpdated.Size        = new System.Drawing.Size(316, 34);
            this._lblLastUpdated.TabIndex    = 8;
            this._lblLastUpdated.Text        = "label7";
            this._lblLastUpdated.UseMnemonic = false;
            //
            // _grpDescription
            //
            this._grpDescription.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._grpDescription.Controls.Add(this._edtDescription);
            this._grpDescription.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._grpDescription.Location  = new System.Drawing.Point(4, 146);
            this._grpDescription.Name      = "_grpDescription";
            this._grpDescription.Size      = new System.Drawing.Size(396, 110);
            this._grpDescription.TabIndex  = 6;
            this._grpDescription.TabStop   = false;
            this._grpDescription.Text      = "&Description";
            //
            // _edtDescription
            //
            this._edtDescription.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._edtDescription.Location  = new System.Drawing.Point(8, 24);
            this._edtDescription.Multiline = true;
            this._edtDescription.Name      = "_edtDescription";
            this._edtDescription.ReadOnly  = true;
            this._edtDescription.Size      = new System.Drawing.Size(380, 74);
            this._edtDescription.TabIndex  = 0;
            this._edtDescription.Text      = "";
            //
            // _chkAuthentication
            //
            this._chkAuthentication.FlatStyle       = System.Windows.Forms.FlatStyle.System;
            this._chkAuthentication.Location        = new System.Drawing.Point(8, 8);
            this._chkAuthentication.Name            = "_chkAuthentication";
            this._chkAuthentication.Size            = new System.Drawing.Size(264, 16);
            this._chkAuthentication.TabIndex        = 1;
            this._chkAuthentication.Text            = "The feed requires an HTTP &login";
            this._chkAuthentication.CheckedChanged += new System.EventHandler(this._chkAuthentication_CheckedChanged);
            //
            // _grpLogin
            //
            this._grpLogin.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
            this._grpLogin.Controls.Add(this._edtPassword);
            this._grpLogin.Controls.Add(this._lblPassword);
            this._grpLogin.Controls.Add(this._edtUserName);
            this._grpLogin.Controls.Add(this._lblUserName);
            this._grpLogin.Enabled   = false;
            this._grpLogin.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._grpLogin.Location  = new System.Drawing.Point(32, 28);
            this._grpLogin.Name      = "_grpLogin";
            this._grpLogin.Size      = new System.Drawing.Size(368, 72);
            this._grpLogin.TabIndex  = 2;
            this._grpLogin.TabStop   = false;
            //
            // label8
            //
            this._lblUserName.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblUserName.Location  = new System.Drawing.Point(8, 20);
            this._lblUserName.Name      = "_lblUserName";
            this._lblUserName.Size      = new System.Drawing.Size(64, 16);
            this._lblUserName.TabIndex  = 0;
            this._lblUserName.Text      = "&User name:";
            //
            // _edtUserName
            //
            this._edtUserName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
            this._edtUserName.Changed  = false;
            this._edtUserName.Location = new System.Drawing.Point(72, 20);
            this._edtUserName.Name     = "_edtUserName";
            this._edtUserName.Size     = new System.Drawing.Size(288, 21);
            this._edtUserName.TabIndex = 1;
            this._edtUserName.Text     = "";
            //
            // label7
            //
            this._lblPassword.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._lblPassword.Location  = new System.Drawing.Point(8, 48);
            this._lblPassword.Name      = "_lblPassword";
            this._lblPassword.Size      = new System.Drawing.Size(60, 16);
            this._lblPassword.TabIndex  = 2;
            this._lblPassword.Text      = "&Password:"******"_edtPassword";
            this._edtPassword.PasswordChar = '*';
            this._edtPassword.Size         = new System.Drawing.Size(288, 21);
            this._edtPassword.TabIndex     = 3;
            this._edtPassword.Text         = "";
            //
            // _chkUpdate
            //
            this._chkUpdate.Checked         = true;
            this._chkUpdate.CheckState      = System.Windows.Forms.CheckState.Checked;
            this._chkUpdate.FlatStyle       = System.Windows.Forms.FlatStyle.System;
            this._chkUpdate.Location        = new System.Drawing.Point(8, 112);
            this._chkUpdate.Name            = "_chkUpdate";
            this._chkUpdate.Size            = new System.Drawing.Size(88, 16);
            this._chkUpdate.TabIndex        = 5;
            this._chkUpdate.Text            = "Update &every";
            this._chkUpdate.CheckedChanged += new System.EventHandler(this._chkUpdate_CheckedChanged);
            //
            // _udUpdateFrequency
            //
            this._udUpdateFrequency.Changed  = true;
            this._udUpdateFrequency.Location = new System.Drawing.Point(104, 108);
            this._udUpdateFrequency.Maximum  = 1000;
            this._udUpdateFrequency.Minimum  = 1;
            this._udUpdateFrequency.Name     = "_udUpdateFrequency";
            this._udUpdateFrequency.Size     = new System.Drawing.Size(40, 21);
            this._udUpdateFrequency.TabIndex = 6;
            this._udUpdateFrequency.Text     = "1";
            this._udUpdateFrequency.Value    = 1;
            //
            // _cmbUpdatePeriod
            //
            this._cmbUpdatePeriod.Changed       = false;
            this._cmbUpdatePeriod.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this._cmbUpdatePeriod.Location      = new System.Drawing.Point(152, 108);
            this._cmbUpdatePeriod.Name          = "_cmbUpdatePeriod";
            this._cmbUpdatePeriod.Size          = new System.Drawing.Size(76, 21);
            this._cmbUpdatePeriod.TabIndex      = 7;
            //
            // _image
            //
            this._image.Location = new System.Drawing.Point(8, 132);
            this._image.Name     = "_image";
            this._image.Size     = new System.Drawing.Size(144, 4);
            this._image.TabIndex = 15;
            this._image.TabStop  = false;
            //
            // _grpEnclosure
            //
            this._grpEnclosure.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                              | System.Windows.Forms.AnchorStyles.Right)));
            this._grpEnclosure.Controls.Add(this._browseForFolderControl);
            this._grpEnclosure.Location = new System.Drawing.Point(4, 136);
            this._grpEnclosure.Name     = "_grpEnclosure";
            this._grpEnclosure.Size     = new System.Drawing.Size(396, 52);
            this._grpEnclosure.TabIndex = 16;
            this._grpEnclosure.TabStop  = false;
            this._grpEnclosure.Text     = "&Destination folder for downloaded feed enclosures";
            //
            // _browseForFolderControl
            //
            this._browseForFolderControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                        | System.Windows.Forms.AnchorStyles.Right)));
            this._browseForFolderControl.Changed      = true;
            this._browseForFolderControl.Location     = new System.Drawing.Point(4, 24);
            this._browseForFolderControl.Name         = "_browseForFolderControl";
            this._browseForFolderControl.SelectedPath = "";
            this._browseForFolderControl.Size         = new System.Drawing.Size(380, 25);
            this._browseForFolderControl.TabIndex     = 0;

            this._chkMarkReadOnLeave.Location = new Point(8, 196);
            this._chkMarkReadOnLeave.Size     = new Size(392, 16);
            this._chkMarkReadOnLeave.Text     = "&Mark all items read when leaving the feed";
            this._chkMarkReadOnLeave.TabIndex = 17;

            this._chkAutoFollowLink.Location = new Point(8, 216);
            this._chkAutoFollowLink.Size     = new Size(392, 16);
            this._chkAutoFollowLink.Text     = "&Go to the item link when an item is selected";
            this._chkAutoFollowLink.TabIndex = 18;

            this._chkAutoUpdateComments.Location = new Point(8, 236);
            this._chkAutoUpdateComments.Size     = new Size(220, 16);
            this._chkAutoUpdateComments.Text     = "&Auto update feed comments";
            this._chkAutoUpdateComments.TabIndex = 19;

            this._chkAllowEqualPosts.Location = new Point(8, 256);
            this._chkAllowEqualPosts.Size     = new Size(220, 16);
            this._chkAllowEqualPosts.Text     = "Accept &identical posts";
            this._chkAllowEqualPosts.TabIndex = 20;

            this._chkAutoDownloadEncls.Location = new Point(8, 276);
            this._chkAutoDownloadEncls.Size     = new Size(220, 16);
            this._chkAutoDownloadEncls.Text     = "Autodownload Enclosures";
            this._chkAutoDownloadEncls.TabIndex = 21;
            //
            // _edtAnnotation
            //
            this._edtAnnotation.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._edtAnnotation.Location  = new System.Drawing.Point(8, 8);
            this._edtAnnotation.Multiline = true;
            this._edtAnnotation.Name      = "_edtAnnotation";
            this._edtAnnotation.ReadOnly  = false;
            this._edtAnnotation.Size      = new System.Drawing.Size(386, 200);
            this._edtAnnotation.TabIndex  = 0;
            this._edtAnnotation.Text      = "";
            //
            // _panelCategories
            //
            _panelCategories.Controls.Add(_selector);
            _panelCategories.Size     = new Size(386, 40);
            _panelCategories.Dock     = DockStyle.Bottom;
            _panelCategories.Name     = "_panelCategories";
            _panelCategories.TabIndex = 2;
            //
            // _selector
            //
            _selector.Dock     = DockStyle.Fill;
            _selector.Name     = "_selector";
            _selector.TabIndex = 3;
            //
            // _btnSave
            //
            this._btnSave.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this._btnSave.DialogResult = System.Windows.Forms.DialogResult.OK;
            this._btnSave.FlatStyle    = System.Windows.Forms.FlatStyle.System;
            this._btnSave.Location     = new System.Drawing.Point(164, 303);
            this._btnSave.Name         = "_btnSave";
            this._btnSave.Size         = new System.Drawing.Size(75, 25);
            this._btnSave.TabIndex     = 10;
            this._btnSave.Text         = "Save";
            this._btnSave.Click       += new System.EventHandler(this.OnSaveFeed);
            //
            // _btnCancel
            //
            this._btnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this._btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this._btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
            this._btnCancel.Location     = new System.Drawing.Point(252, 303);
            this._btnCancel.Name         = "_btnCancel";
            this._btnCancel.Size         = new System.Drawing.Size(75, 26);
            this._btnCancel.TabIndex     = 11;
            this._btnCancel.Text         = "Cancel";
            //
            // _btnHelp
            //
            this._btnHelp.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this._btnHelp.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this._btnHelp.Location  = new System.Drawing.Point(340, 303);
            this._btnHelp.Name      = "_btnHelp";
            this._btnHelp.Size      = new System.Drawing.Size(75, 26);
            this._btnHelp.TabIndex  = 14;
            this._btnHelp.Text      = "Help";
            this._btnHelp.Click    += new System.EventHandler(this._btnHelp_Click);

            //
            // _tabs
            //
            this._tabs.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._tabs.Controls.Add(this._tabFeedInfo);
            this._tabs.Controls.Add(this._tabSettings);
            this._tabs.Controls.Add(this._tabAnnotation);
            this._tabs.Location      = new System.Drawing.Point(8, 8);
            this._tabs.Name          = "_tabs";
            this._tabs.SelectedIndex = 0;
            this._tabs.Size          = new System.Drawing.Size(412, 288);
            this._tabs.TabIndex      = 17;
            //
            // _tabFeedInfo
            //
            this._tabFeedInfo.Controls.Add(this._lblAddress);
            this._tabFeedInfo.Controls.Add(this._lblTitle);
            this._tabFeedInfo.Controls.Add(this._edtAddress);
            this._tabFeedInfo.Controls.Add(this._edtTitle);
            this._tabFeedInfo.Controls.Add(this.label5);
            this._tabFeedInfo.Controls.Add(this._lblAuthor);
            this._tabFeedInfo.Controls.Add(this._image);
            this._tabFeedInfo.Controls.Add(this._lblHomepage);
            this._tabFeedInfo.Controls.Add(this.label3);
            this._tabFeedInfo.Controls.Add(this.label6);
            this._tabFeedInfo.Controls.Add(this._lblLastUpdated);
            this._tabFeedInfo.Controls.Add(this._grpDescription);
            this._tabFeedInfo.Location = new System.Drawing.Point(4, 22);
            this._tabFeedInfo.Name     = "_tabFeedInfo";
            this._tabFeedInfo.Size     = new System.Drawing.Size(404, 262);
            this._tabFeedInfo.TabIndex = 0;
            this._tabFeedInfo.Text     = "Feed Information";
            //
            // _tabSettings
            //
            this._tabSettings.Controls.Add(this._udUpdateFrequency);
            this._tabSettings.Controls.Add(this._chkUpdate);
            this._tabSettings.Controls.Add(this._cmbUpdatePeriod);
            this._tabSettings.Controls.Add(this._chkAuthentication);
            this._tabSettings.Controls.Add(this._grpLogin);
            this._tabSettings.Controls.Add(this._grpEnclosure);
            this._tabSettings.Controls.Add(this._chkMarkReadOnLeave);
            this._tabSettings.Controls.Add(this._chkAutoFollowLink);
            this._tabSettings.Controls.Add(this._chkAutoUpdateComments);
            this._tabSettings.Controls.Add(this._chkAllowEqualPosts);
            this._tabSettings.Controls.Add(this._chkAutoDownloadEncls);

            this._tabSettings.Location = new System.Drawing.Point(4, 22);
            this._tabSettings.Name     = "_tabSettings";
            this._tabSettings.Size     = new System.Drawing.Size(404, 262);
            this._tabSettings.TabIndex = 1;
            this._tabSettings.Text     = "Settings";
            //
            // _tabAnnotation
            //
            _tabAnnotation.Controls.Add(_edtAnnotation);
            _tabAnnotation.Controls.Add(_panelCategories);

            _tabAnnotation.Location = new System.Drawing.Point(4, 22);
            _tabAnnotation.Name     = "_tabAnnotation";
            _tabAnnotation.Size     = new System.Drawing.Size(404, 262);
            _tabAnnotation.TabIndex = 2;
            _tabAnnotation.Text     = "Annotation";
            //
            // RSSFeedView
            //
            this.AcceptButton      = this._btnSave;
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
            this.CancelButton      = this._btnCancel;
            this.ClientSize        = new System.Drawing.Size(424, 338);
            this.Controls.Add(this._tabs);
            this.Controls.Add(this._btnHelp);
            this.Controls.Add(this._btnCancel);
            this.Controls.Add(this._btnSave);
            this.MinimumSize   = new System.Drawing.Size(432, 372);
            this.Name          = "RSSFeedView";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text          = "Feed Properties";
            this.Closed       += new System.EventHandler(this.OnClosed);
            this._grpDescription.ResumeLayout(false);
            this._grpLogin.ResumeLayout(false);
            this._grpEnclosure.ResumeLayout(false);
            this._tabs.ResumeLayout(false);
            this._tabFeedInfo.ResumeLayout(false);
            this._tabSettings.ResumeLayout(false);
            this._tabAnnotation.ResumeLayout(false);
            this.ResumeLayout(false);
        }