public DrawThings(Lite parent, int id) { InitializeComponent(); this.parent = parent; this.id = id; showDraw(id); }
public DrawFillRectForm(Lite parent) { InitializeComponent(); this.parent = parent; }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace TextureCreator { public partial class DrawOvalForm : UserControl, Geometry { Lite parent; public DrawOvalForm(Lite parent) { InitializeComponent(); this.parent = parent; } void Geometry.draw(int a, int r, int g, int b) { int pixelsize; int sx, sy, ex, ey; try { pixelsize = Int32.Parse(PixelCount.Text); sx = Int32.Parse(StartXPos.Text); sy = Int32.Parse(StartYPos.Text); ex = Int32.Parse(EndXPos.Text); ey = Int32.Parse(EndYPos.Text); } catch { pixelsize = 1; sx = 0; sy = 0; ex = 0; ey = 0;
public DrawLineForm(Lite parent) { InitializeComponent(); this.parent = parent; }