public void Display(Skybound.VisualTips.VisualTipProvider provider, Skybound.VisualTips.VisualTip tip, System.Drawing.Rectangle toolArea, Skybound.VisualTips.VisualTipDisplayOptions options) { Provider = provider; _DisplayedTip = tip; _Options = options; RightToLeft = tip.RightToLeft; Skybound.VisualTips.Rendering.VisualTipLayout visualTipLayout = provider.Renderer.CreateLayout(tip); Size = visualTipLayout.GetSize(); Location = GetBestLocation(toolArea, Size, options); toolArea.Location = toolArea.Location - (new System.Drawing.Size(Location)); tip.SetRelativeToolArea(toolArea); if (IsLayeredWindow) { Animator.Stop(); using (System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(Width, Height)) using (System.Drawing.Graphics graphics = System.Drawing.Graphics.FromImage(bitmap)) { provider.Renderer.Draw(new System.Windows.Forms.PaintEventArgs(graphics, new System.Drawing.Rectangle(0, 0, Width, Height)), tip, visualTipLayout); SetAlphaMask(bitmap, (byte)(Provider.Opacity * 255.0)); } } DisplayAnimate(); if (!IsLayeredWindow) { System.Drawing.Rectangle rectangle = visualTipLayout.WindowBounds; Width = rectangle.Width; Region = Provider.Renderer.CreateMaskRegion(tip, visualTipLayout); } }
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, System.Type destinationType) { Skybound.VisualTips.VisualTip visualTip = value as Skybound.VisualTips.VisualTip; if (destinationType == typeof(string)) { if (!visualTip.ShouldSerialize()) { return("(none)"); } return("(VisualTip)"); } if (destinationType == typeof(System.ComponentModel.Design.Serialization.InstanceDescriptor)) { return(new System.ComponentModel.Design.Serialization.InstanceDescriptor(typeof(Skybound.VisualTips.VisualTip).GetConstructor(System.Type.EmptyTypes), null, false)); } return(base.ConvertTo(context, culture, value, destinationType)); }
public void Undisplay() { if (IsDisplayed) { _IsDisplayed = false; _DisplayedTip = null; if ((IsLayeredWindow && (Provider.Animation == Skybound.VisualTips.VisualTipAnimation.Enabled)) || ((Provider.Animation == Skybound.VisualTips.VisualTipAnimation.SystemDefault) && Skybound.VisualTips.SystemParameters.ToolTipAnimation)) { StartingOpacity = Provider.Opacity; Animator.Start(); } else { Skybound.VisualTips.VisualTipWindow.ShowWindow(Handle, 0); } Provider.OnUndisplay(this); } }
public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { WinForms = provider.GetService(typeof(System.Windows.Forms.Design.IWindowsFormsEditorService)) as System.Windows.Forms.Design.IWindowsFormsEditorService; Skybound.VisualTips.VisualTip visualTip = value as Skybound.VisualTips.VisualTip; System.Windows.Forms.Control control = new System.Windows.Forms.Control(); if (visualTip.ShouldSerialize()) { Layout = visualTip.Provider.Renderer.CreateLayout(visualTip); Layout.Offset(8, 8); CurrentTip = visualTip; control.Size = Layout.GetSize() + (new System.Drawing.Size(16, 16)); control.Paint += new System.Windows.Forms.PaintEventHandler(OnDropDownPaint); control.MouseDown += new System.Windows.Forms.MouseEventHandler(OnDropDownMouseDown); } else { control.Size = new System.Drawing.Size(144, 28); control.Paint += new System.Windows.Forms.PaintEventHandler(OnEmptyDropDownPaint); } WinForms.DropDownControl(control); return value; }
public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, System.IServiceProvider provider, object value) { WinForms = provider.GetService(typeof(System.Windows.Forms.Design.IWindowsFormsEditorService)) as System.Windows.Forms.Design.IWindowsFormsEditorService; Skybound.VisualTips.VisualTip visualTip = value as Skybound.VisualTips.VisualTip; System.Windows.Forms.Control control = new System.Windows.Forms.Control(); if (visualTip.ShouldSerialize()) { Layout = visualTip.Provider.Renderer.CreateLayout(visualTip); Layout.Offset(8, 8); CurrentTip = visualTip; control.Size = Layout.GetSize() + (new System.Drawing.Size(16, 16)); control.Paint += new System.Windows.Forms.PaintEventHandler(OnDropDownPaint); control.MouseDown += new System.Windows.Forms.MouseEventHandler(OnDropDownMouseDown); } else { control.Size = new System.Drawing.Size(144, 28); control.Paint += new System.Windows.Forms.PaintEventHandler(OnEmptyDropDownPaint); } WinForms.DropDownControl(control); return(value); }
public Skybound.VisualTips.VisualTip GetVisualTip(object component) { Skybound.VisualTips.VisualTip visualTip = VisualTipMap[component] as Skybound.VisualTips.VisualTip; if (visualTip == null) { visualTip = new Skybound.VisualTips.VisualTip(); VisualTipMap[component] = new Skybound.VisualTips.VisualTip(); visualTip.SetProvider(this); Skybound.VisualTips.VisualTipProvider.UpdateTipTarget(visualTip, component); } return visualTip; }
public static void ShowNotifyTip(System.Windows.Forms.Control control, string text, string title, Skybound.VisualTips.VisualTipNotifyIcon icon, Skybound.VisualTips.VisualTipDisplayOptions options, System.Drawing.Rectangle exclude) { if (control == null) throw new System.ArgumentNullException("control"); if (control.IsDisposed) throw new System.ArgumentOutOfRangeException("control", control, "A tip may not be displayed for a control which has already been disposed."); if (Skybound.VisualTips.VisualTipProvider.NotifyProvider == null) { Skybound.VisualTips.VisualTipProvider.NotifyProvider = new Skybound.VisualTips.VisualTipProvider(); Skybound.VisualTips.VisualTipProvider.NotifyProvider.Renderer = new Skybound.VisualTips.Rendering.VisualTipBalloonRenderer(); } exclude.X = exclude.X - 12; Skybound.VisualTips.VisualTip visualTip = new Skybound.VisualTips.VisualTip(text, title); visualTip.TitleImage = Skybound.VisualTips.VisualTipProvider.NotifyImages.FromIcon(icon); Skybound.VisualTips.VisualTipProvider.NotifyProvider.ShowTip(visualTip, exclude, control, options); }
internal void TrackMouseMove(System.Windows.Forms.MouseEventArgs e) { System.Windows.Forms.Control control = Skybound.VisualTips.VisualTipTracker.LastMouseEventControl; if (control != null) { Skybound.VisualTips.VisualTip visualTip = GetEffectiveVisualTip(control, Skybound.VisualTips.VisualTipProvider.GetComponentAtPoint(control, new System.Drawing.Point(e.X, e.Y))); if ((Skybound.VisualTips.VisualTipProvider.PreventDisplayTip != null) && (visualTip != Skybound.VisualTips.VisualTipProvider.PreventDisplayTip)) { Skybound.VisualTips.VisualTipProvider.PreventDisplayTip = null; return; } if (visualTip != CurrentTip) { Skybound.VisualTips.VisualTipTracker.SetTimeoutHandler(ReshowDelay, new System.EventHandler(OnMouseHover)); Skybound.VisualTips.VisualTipProvider.HideTrackedTip(); } } }
internal void TrackMouseLeave(System.EventArgs e) { if ((Skybound.VisualTips.VisualTipProvider.TrackedTipWindow.Options & Skybound.VisualTips.VisualTipDisplayOptions.HideOnMouseDown) == Skybound.VisualTips.VisualTipDisplayOptions.Default) return; System.Drawing.Rectangle rectangle = Skybound.VisualTips.VisualTipProvider.TrackedTipWindow.Bounds; if (rectangle.Contains(System.Windows.Forms.Cursor.Position)) { Skybound.VisualTips.VisualTipProvider.PreventDisplayTip = CurrentTip; } else { Skybound.VisualTips.VisualTipProvider.PreventDisplayTip = null; Skybound.VisualTips.VisualTipTracker.SetTimeoutHandler(ReshowDelay, new System.EventHandler(OnMouseHover)); } Skybound.VisualTips.VisualTipProvider.HideTrackedTip(); }
internal void TrackMouseDownUp() { if ((Skybound.VisualTips.VisualTipProvider.TrackedTipWindow.Options & Skybound.VisualTips.VisualTipDisplayOptions.HideOnMouseDown) == Skybound.VisualTips.VisualTipDisplayOptions.Default) return; if (Skybound.VisualTips.VisualTipProvider.TrackedTip != null) Skybound.VisualTips.VisualTipProvider.PreventDisplayTip = Skybound.VisualTips.VisualTipProvider.TrackedTip; Skybound.VisualTips.VisualTipProvider.HideTrackedTip(); }
internal void TrackKeyDown(System.Windows.Forms.KeyEventArgs e) { if (CurrentTip == null) return; if (e.KeyCode == System.Windows.Forms.Keys.Escape) { Skybound.VisualTips.VisualTipProvider.PreventDisplayTip = CurrentTip; Skybound.VisualTips.VisualTipProvider.HideTrackedTip(); e.Handled = true; return; } if (((System.Windows.Forms.Shortcut)e.KeyCode) == ((System.Windows.Forms.Shortcut)CurrentTip.AccessKey)) { Skybound.VisualTips.VisualTipEventArgs visualTipEventArgs = new Skybound.VisualTips.VisualTipEventArgs(CurrentTip, CurrentComponent != null ? CurrentComponent : CurrentControl); Skybound.VisualTips.VisualTipProvider.PreventDisplayTip = CurrentTip; Skybound.VisualTips.VisualTipProvider.HideTrackedTip(); e.Handled = true; OnAccessKeyPressed(visualTipEventArgs); } }
internal void OnUndisplay(Skybound.VisualTips.VisualTipWindow window) { if ((window == Skybound.VisualTips.VisualTipProvider.TrackedTipWindow) && (((Skybound.VisualTips.VisualTipProvider)Skybound.VisualTips.VisualTipTracker.TrackingProvider) == this)) Skybound.VisualTips.VisualTipTracker.TrackingProvider = null; _CurrentTip = null; CurrentControl = null; CurrentComponent = null; Skybound.VisualTips.VisualTipProvider.WindowStack.Remove(window); }
private void ShowTipCore(System.Windows.Forms.Control control, object component, Skybound.VisualTips.VisualTip tip, System.Drawing.Rectangle toolArea, Skybound.VisualTips.VisualTipDisplayOptions options) { if ((control != null) && control.InvokeRequired) { object[] objArr = new object[] { control, component, tip, toolArea, options }; control.BeginInvoke(new Skybound.VisualTips.VisualTipProvider.ShowTipCoreMethod(ShowTipCore), objArr); return; } bool flag = (options & Skybound.VisualTips.VisualTipDisplayOptions.HideOnMouseLeave) == Skybound.VisualTips.VisualTipDisplayOptions.HideOnMouseLeave; Skybound.VisualTips.VisualTipWindow visualTipWindow1 = flag ? Skybound.VisualTips.VisualTipProvider.TrackedTipWindow : CurrentTipWindow; if (visualTipWindow1 == null) { if (flag) { Skybound.VisualTips.VisualTipProvider.TrackedTipWindow = new Skybound.VisualTips.VisualTipWindow(); visualTipWindow1 = new Skybound.VisualTips.VisualTipWindow(); } else { Skybound.VisualTips.VisualTipWindow visualTipWindow2 = new Skybound.VisualTips.VisualTipWindow(); CurrentTipWindow = new Skybound.VisualTips.VisualTipWindow(); visualTipWindow1 = visualTipWindow2; } } if (visualTipWindow1.DisplayedTip != tip) { visualTipWindow1.Undisplay(); Skybound.VisualTips.VisualTipEventArgs visualTipEventArgs = new Skybound.VisualTips.VisualTipEventArgs(tip, component == null ? control : component); tip.SetProvider(this); Skybound.VisualTips.VisualTipProvider.UpdateTipTarget(tip, visualTipEventArgs.Instance); OnTipPopup(visualTipEventArgs); if (visualTipEventArgs.Cancel) { Skybound.VisualTips.VisualTipProvider.PreventDisplayTip = tip; return; } _CurrentTip = tip; CurrentControl = control; CurrentComponent = component; if (flag) Skybound.VisualTips.VisualTipTracker.TrackingProvider = this; Skybound.VisualTips.VisualTipProvider.WindowStack.Add(visualTipWindow1, control); visualTipWindow1.Display(this, tip, toolArea, options); return; } visualTipWindow1.SetToolArea(toolArea, options); }
public VisualTipEventArgs(Skybound.VisualTips.VisualTip tip, object instance) { _Tip = tip; _Instance = instance; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); Skybound.VisualTips.VisualTip visualTip1 = new Skybound.VisualTips.VisualTip(); Skybound.VisualTips.VisualTip visualTip2 = new Skybound.VisualTips.VisualTip(); Skybound.VisualTips.VisualTip visualTip3 = new Skybound.VisualTips.VisualTip(); Skybound.VisualTips.Rendering.VisualTipOfficeRenderer visualTipOfficeRenderer1 = new Skybound.VisualTips.Rendering.VisualTipOfficeRenderer(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPreferences)); Skybound.VisualTips.VisualTip visualTip4 = new Skybound.VisualTips.VisualTip(); Skybound.VisualTips.VisualTip visualTip5 = new Skybound.VisualTips.VisualTip(); Skybound.VisualTips.VisualTip visualTip6 = new Skybound.VisualTips.VisualTip(); this.txtSubversionRoot = new System.Windows.Forms.TextBox(); this.txtReposRoot = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.lnkBrowseSub = new System.Windows.Forms.LinkLabel(); this.lnkBrowseRepo = new System.Windows.Forms.LinkLabel(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); this.textboxProvider1 = new XPControls.TextboxProvider(); this.txtCmdRoot = new System.Windows.Forms.TextBox(); this.txtInstructions = new System.Windows.Forms.TextBox(); this.lnkBrowsCmd = new System.Windows.Forms.LinkLabel(); this.label3 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.btnCancel = new System.Windows.Forms.Button(); this.btnOK = new System.Windows.Forms.Button(); this.lblTitle = new System.Windows.Forms.Label(); this.vtpPreferences = new Skybound.VisualTips.VisualTipProvider(this.components); this.lstMulti = new System.Windows.Forms.ListBox(); this.btnDelete = new System.Windows.Forms.Button(); this.btnAdd = new System.Windows.Forms.Button(); this.rdbMultiFolders = new System.Windows.Forms.RadioButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.panel3 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.rdbAll = new System.Windows.Forms.RadioButton(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.fbdRepo = new System.Windows.Forms.FolderBrowserDialog(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel3.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // txtSubversionRoot // this.txtSubversionRoot.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtSubversionRoot.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSubversionRoot.Location = new System.Drawing.Point(66, 59); this.txtSubversionRoot.Name = "txtSubversionRoot"; this.textboxProvider1.SetRenderTextbox(this.txtSubversionRoot, true); this.txtSubversionRoot.Size = new System.Drawing.Size(262, 13); this.textboxProvider1.SetStyle(this.txtSubversionRoot, XPControls.Style.Rounded); this.txtSubversionRoot.TabIndex = 1; visualTip1.Text = "This is the directory where the Subversion binaries were installed."; visualTip1.Title = "Subversion Installation Directory"; this.vtpPreferences.SetVisualTip(this.txtSubversionRoot, visualTip1); this.txtSubversionRoot.Leave += new System.EventHandler(this.txtSubversionRoot_Leave); // // txtReposRoot // this.txtReposRoot.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtReposRoot.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtReposRoot.Location = new System.Drawing.Point(25, 51); this.txtReposRoot.Name = "txtReposRoot"; this.textboxProvider1.SetRenderTextbox(this.txtReposRoot, true); this.txtReposRoot.Size = new System.Drawing.Size(262, 13); this.textboxProvider1.SetStyle(this.txtReposRoot, XPControls.Style.Rounded); this.txtReposRoot.TabIndex = 6; visualTip2.Text = "This is the parent directory for all the repositories."; visualTip2.Title = "Repositories Root Directory"; this.vtpPreferences.SetVisualTip(this.txtReposRoot, visualTip2); this.txtReposRoot.Enter += new System.EventHandler(this.txtReposRoot_Enter); this.txtReposRoot.Leave += new System.EventHandler(this.txtReposRoot_Leave); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(63, 38); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(158, 13); this.label1.TabIndex = 4; this.label1.Text = "Subversion Installation Directory"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(22, 30); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(136, 13); this.label2.TabIndex = 6; this.label2.Text = "Repositories Root Directory"; // // lnkBrowseSub // this.lnkBrowseSub.AutoSize = true; this.lnkBrowseSub.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lnkBrowseSub.ForeColor = System.Drawing.Color.Transparent; this.lnkBrowseSub.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; this.lnkBrowseSub.LinkColor = System.Drawing.SystemColors.ActiveCaption; this.lnkBrowseSub.Location = new System.Drawing.Point(344, 59); this.lnkBrowseSub.Name = "lnkBrowseSub"; this.lnkBrowseSub.Size = new System.Drawing.Size(60, 13); this.lnkBrowseSub.TabIndex = 2; this.lnkBrowseSub.TabStop = true; this.lnkBrowseSub.Text = "Browse..."; this.lnkBrowseSub.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkBrowseSub_LinkClicked); // // lnkBrowseRepo // this.lnkBrowseRepo.AutoSize = true; this.lnkBrowseRepo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lnkBrowseRepo.ForeColor = System.Drawing.Color.Transparent; this.lnkBrowseRepo.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; this.lnkBrowseRepo.LinkColor = System.Drawing.SystemColors.ActiveCaption; this.lnkBrowseRepo.Location = new System.Drawing.Point(303, 50); this.lnkBrowseRepo.Name = "lnkBrowseRepo"; this.lnkBrowseRepo.Size = new System.Drawing.Size(60, 13); this.lnkBrowseRepo.TabIndex = 7; this.lnkBrowseRepo.TabStop = true; this.lnkBrowseRepo.Text = "Browse..."; this.lnkBrowseRepo.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkBrowseRepo_LinkClicked); // // txtCmdRoot // this.txtCmdRoot.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtCmdRoot.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCmdRoot.Location = new System.Drawing.Point(66, 114); this.txtCmdRoot.Name = "txtCmdRoot"; this.textboxProvider1.SetRenderTextbox(this.txtCmdRoot, true); this.txtCmdRoot.Size = new System.Drawing.Size(262, 13); this.textboxProvider1.SetStyle(this.txtCmdRoot, XPControls.Style.Rounded); this.txtCmdRoot.TabIndex = 3; visualTip3.Text = "This is the directory where the command-line programs reside. This is usually the" + " bin directory under the server\'s installation directory."; visualTip3.Title = "Command-Line Tools Directory"; this.vtpPreferences.SetVisualTip(this.txtCmdRoot, visualTip3); this.txtCmdRoot.Leave += new System.EventHandler(this.txtCmdRoot_Leave); // // txtInstructions // this.textboxProvider1.SetBorderColor(this.txtInstructions, System.Drawing.Color.White); this.txtInstructions.Location = new System.Drawing.Point(49, 478); this.txtInstructions.Multiline = true; this.txtInstructions.Name = "txtInstructions"; this.txtInstructions.Size = new System.Drawing.Size(373, 50); this.textboxProvider1.SetStyle(this.txtInstructions, XPControls.Style.Square); this.txtInstructions.TabIndex = 25; this.txtInstructions.TabStop = false; this.txtInstructions.Text = "Test"; // // lnkBrowsCmd // this.lnkBrowsCmd.AutoSize = true; this.lnkBrowsCmd.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lnkBrowsCmd.ForeColor = System.Drawing.Color.Transparent; this.lnkBrowsCmd.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline; this.lnkBrowsCmd.LinkColor = System.Drawing.SystemColors.ActiveCaption; this.lnkBrowsCmd.Location = new System.Drawing.Point(344, 115); this.lnkBrowsCmd.Name = "lnkBrowsCmd"; this.lnkBrowsCmd.Size = new System.Drawing.Size(60, 13); this.lnkBrowsCmd.TabIndex = 4; this.lnkBrowsCmd.TabStop = true; this.lnkBrowsCmd.Text = "Browse..."; this.lnkBrowsCmd.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkBrowsCmd_LinkClicked); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(63, 93); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(151, 13); this.label3.TabIndex = 11; this.label3.Text = "Command-Line Tools Directory"; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Control; this.panel1.Controls.Add(this.btnCancel); this.panel1.Controls.Add(this.btnOK); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 534); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(434, 49); this.panel1.TabIndex = 19; // // 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.Location = new System.Drawing.Point(347, 14); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 13; this.btnCancel.Text = "Cancel"; this.btnCancel.UseVisualStyleBackColor = true; // // btnOK // this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Enabled = false; this.btnOK.Location = new System.Drawing.Point(266, 14); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.TabIndex = 12; this.btnOK.Text = "OK"; this.btnOK.UseVisualStyleBackColor = true; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // lblTitle // this.lblTitle.AutoSize = true; this.lblTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(14)))), ((int)(((byte)(101)))), ((int)(((byte)(163))))); this.lblTitle.Location = new System.Drawing.Point(63, 13); this.lblTitle.Name = "lblTitle"; this.lblTitle.Size = new System.Drawing.Size(193, 16); this.lblTitle.TabIndex = 20; this.lblTitle.Text = "Modify server directory settings"; // // vtpPreferences // this.vtpPreferences.DisplayMode = Skybound.VisualTips.VisualTipDisplayMode.HelpRequested; this.vtpPreferences.InitialDelay = 500; this.vtpPreferences.Renderer = visualTipOfficeRenderer1; this.vtpPreferences.TitleImage = ((System.Drawing.Image)(resources.GetObject("vtpPreferences.TitleImage"))); // // lstMulti // this.lstMulti.BackColor = System.Drawing.SystemColors.ControlLight; this.lstMulti.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lstMulti.Enabled = false; this.lstMulti.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lstMulti.FormattingEnabled = true; this.lstMulti.Location = new System.Drawing.Point(17, 26); this.lstMulti.Name = "lstMulti"; this.lstMulti.Size = new System.Drawing.Size(262, 93); this.lstMulti.TabIndex = 9; visualTip4.DisabledMessage = "This control is disabled"; visualTip4.Text = "This contains a list of all the repository directories that you want to be manage" + "d by PainlessSVN."; visualTip4.Title = "List Of Repositories"; this.vtpPreferences.SetVisualTip(this.lstMulti, visualTip4); this.lstMulti.SelectedIndexChanged += new System.EventHandler(this.lstMulti_SelectedIndexChanged); // // btnDelete // this.btnDelete.Enabled = false; this.btnDelete.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnDelete.Location = new System.Drawing.Point(286, 56); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(68, 23); this.btnDelete.TabIndex = 11; this.btnDelete.Text = "Remove"; this.btnDelete.UseVisualStyleBackColor = true; visualTip5.Text = "Removes a Subversion repository from the list."; visualTip5.Title = "Remove Repository"; this.vtpPreferences.SetVisualTip(this.btnDelete, visualTip5); this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnAdd // this.btnAdd.Enabled = false; this.btnAdd.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnAdd.Location = new System.Drawing.Point(285, 26); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(69, 23); this.btnAdd.TabIndex = 10; this.btnAdd.Text = "Add"; this.btnAdd.UseVisualStyleBackColor = true; visualTip6.Text = "Adds a Subversion repository to the list."; visualTip6.Title = "Add Repository"; this.vtpPreferences.SetVisualTip(this.btnAdd, visualTip6); this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // rdbMultiFolders // this.rdbMultiFolders.AutoSize = true; this.rdbMultiFolders.ForeColor = System.Drawing.SystemColors.ActiveCaption; this.rdbMultiFolders.Location = new System.Drawing.Point(3, 3); this.rdbMultiFolders.Name = "rdbMultiFolders"; this.rdbMultiFolders.Size = new System.Drawing.Size(223, 17); this.rdbMultiFolders.TabIndex = 8; this.rdbMultiFolders.TabStop = true; this.rdbMultiFolders.Text = "Repositories in different directories"; this.rdbMultiFolders.UseVisualStyleBackColor = true; this.rdbMultiFolders.Click += new System.EventHandler(this.rdbMultiFolders_Click); this.rdbMultiFolders.CheckedChanged += new System.EventHandler(this.rdbMultiFolders_CheckedChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.panel3); this.groupBox1.Controls.Add(this.panel2); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(12, 155); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(410, 308); this.groupBox1.TabIndex = 24; this.groupBox1.TabStop = false; this.groupBox1.Text = "Repositories"; // // panel3 // this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel3.Controls.Add(this.btnDelete); this.panel3.Controls.Add(this.btnAdd); this.panel3.Controls.Add(this.rdbMultiFolders); this.panel3.Controls.Add(this.lstMulti); this.panel3.Location = new System.Drawing.Point(19, 144); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(372, 140); this.panel3.TabIndex = 1; // // panel2 // this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.Controls.Add(this.rdbAll); this.panel2.Controls.Add(this.txtReposRoot); this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.lnkBrowseRepo); this.panel2.Location = new System.Drawing.Point(19, 36); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(372, 89); this.panel2.TabIndex = 0; // // rdbAll // this.rdbAll.AutoSize = true; this.rdbAll.Checked = true; this.rdbAll.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.rdbAll.ForeColor = System.Drawing.SystemColors.ActiveCaption; this.rdbAll.Location = new System.Drawing.Point(3, 0); this.rdbAll.Name = "rdbAll"; this.rdbAll.Size = new System.Drawing.Size(230, 17); this.rdbAll.TabIndex = 5; this.rdbAll.TabStop = true; this.rdbAll.Text = "All repositories in the same directory"; this.rdbAll.UseVisualStyleBackColor = true; this.rdbAll.Click += new System.EventHandler(this.rdbAll_Click); this.rdbAll.CheckedChanged += new System.EventHandler(this.rdbAll_CheckedChanged); // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(12, 487); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(32, 32); this.pictureBox1.TabIndex = 26; this.pictureBox1.TabStop = false; // // fbdRepo // this.fbdRepo.Description = "Select the path to a repository"; // // frmPreferences // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(434, 583); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.txtInstructions); this.Controls.Add(this.groupBox1); this.Controls.Add(this.lblTitle); this.Controls.Add(this.panel1); this.Controls.Add(this.lnkBrowsCmd); this.Controls.Add(this.txtCmdRoot); this.Controls.Add(this.label3); this.Controls.Add(this.lnkBrowseSub); this.Controls.Add(this.txtSubversionRoot); this.Controls.Add(this.label1); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.HelpButton = true; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmPreferences"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Modify server directory settings"; this.Load += new System.EventHandler(this.frmPreferences_Load); this.panel1.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }