DepthExtensionPicTool.cs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace PaintDotNet.Processing.DepthExtensionComponent
  11. {
  12. internal class DepthExtensionPicTool : UserControl
  13. {
  14. public PictureBox pictureBox1;
  15. public Panel panel2;
  16. public Panel panel1;
  17. public DepthExtensionPicTool()
  18. {
  19. InitializeComponent();
  20. }
  21. private void InitializeComponent()
  22. {
  23. this.pictureBox1 = new System.Windows.Forms.PictureBox();
  24. this.panel1 = new System.Windows.Forms.Panel();
  25. this.panel2 = new System.Windows.Forms.Panel();
  26. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
  27. this.SuspendLayout();
  28. //
  29. // pictureBox1
  30. //
  31. this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  32. | System.Windows.Forms.AnchorStyles.Left)
  33. | System.Windows.Forms.AnchorStyles.Right)));
  34. this.pictureBox1.BackColor = System.Drawing.Color.White;
  35. this.pictureBox1.Location = new System.Drawing.Point(0, 0);
  36. this.pictureBox1.Name = "pictureBox1";
  37. this.pictureBox1.Size = new System.Drawing.Size(220, 220);
  38. this.pictureBox1.TabIndex = 0;
  39. this.pictureBox1.TabStop = false;
  40. //
  41. // panel1
  42. //
  43. this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
  44. this.panel1.BackColor = System.Drawing.Color.White;
  45. this.panel1.Location = new System.Drawing.Point(200, 200);
  46. this.panel1.Name = "panel1";
  47. this.panel1.Size = new System.Drawing.Size(20, 20);
  48. this.panel1.TabIndex = 0;
  49. this.panel1.Visible = false;
  50. //
  51. // panel2
  52. //
  53. this.panel2.Anchor = System.Windows.Forms.AnchorStyles.None;
  54. this.panel2.BackColor = System.Drawing.Color.White;
  55. this.panel2.Location = new System.Drawing.Point(85, 85);
  56. this.panel2.Name = "panel2";
  57. this.panel2.Size = new System.Drawing.Size(50, 50);
  58. this.panel2.TabIndex = 1;
  59. //
  60. // DepthExtensionPicTool
  61. //
  62. this.Controls.Add(this.panel2);
  63. this.Controls.Add(this.panel1);
  64. this.Controls.Add(this.pictureBox1);
  65. this.Name = "DepthExtensionPicTool";
  66. this.Size = new System.Drawing.Size(220, 220);
  67. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
  68. this.ResumeLayout(false);
  69. }
  70. }
  71. }