Esempio n. 1
0
 // Token: 0x0600055E RID: 1374 RVA: 0x00025880 File Offset: 0x00023A80
 public ScrapPaintPenTool(PenTool penTool, bool erasemode) : this(penTool)
 {
     if (erasemode)
     {
         Text = "橡皮擦工具";
         pnlOpacity.Visible = false;
         pnlCap.Visible     = false;
         foreach (var penButton in penButtons)
         {
             penButton.ButtonColor = Color.FromArgb(95, 168, 239);
         }
     }
 }
Esempio n. 2
0
 public ScrapPaintPenTool(PenTool penTool, bool erasemode) : this(penTool)
 {
     if (erasemode)
     {
         this.Text = "橡皮擦工具";
         this.pnlOpacity.Visible = false;
         this.pnlCap.Visible     = false;
         foreach (PenButton button in this.penButtons)
         {
             button.ButtonColor = Color.FromArgb(0x5f, 0xa8, 0xef);
         }
     }
 }
Esempio n. 3
0
 public ScrapPaintPenTool(PenTool penTool)
 {
     this.InitializeComponent();
     this.penButtons = new List <PenButton>();
     this.penButtons.Add(this.penButton1);
     this.penButtons.Add(this.penButton2);
     this.penButtons.Add(this.penButton3);
     this.penButtons.Add(this.penButton4);
     this.penButtons.Add(this.penButton5);
     foreach (LineCap cap in Enum.GetValues(typeof(LineCap)))
     {
         this.cmbStart.Items.Add(cap);
     }
     this.cmbStart.SelectedItem = LineCap.NoAnchor;
     this._pentool = penTool;
     this.penButton1_Click(this.penButton2, null);
 }
Esempio n. 4
0
 // Token: 0x0600055D RID: 1373 RVA: 0x0002577C File Offset: 0x0002397C
 public ScrapPaintPenTool(PenTool penTool)
 {
     InitializeComponent();
     penButtons = new List <PenButton>
     {
         penButton1,
         penButton2,
         penButton3,
         penButton4,
         penButton5
     };
     foreach (var obj in Enum.GetValues(typeof(LineCap)))
     {
         var lineCap = (LineCap)obj;
         cmbStart.Items.Add(lineCap);
     }
     cmbStart.SelectedItem = LineCap.NoAnchor;
     _pentool = penTool;
     penButton1_Click(penButton2, null);
 }