Ejemplo n.º 1
0
 public DrawThings(Lite parent, int id)
 {
     InitializeComponent();
     this.parent = parent;
     this.id = id;
     showDraw(id);
 }
Ejemplo n.º 2
0
 public DrawFillRectForm(Lite parent)
 {
     InitializeComponent();
     this.parent = parent;
 }
Ejemplo n.º 3
0
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;
Ejemplo n.º 4
0
 public DrawLineForm(Lite parent)
 {
     InitializeComponent();
     this.parent = parent;
 }