Exemplo n.º 1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            GDIBuffer.Instance(ClientRectangle.Width, ClientRectangle.Height);
            this.SetStyle(ControlStyles.DoubleBuffer | ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint, true);
            Neruon_Form nf = new Neruon_Form();

            nf.Show();
        }
Exemplo n.º 2
0
 public Neruon_Form()
 {
     InitializeComponent();
     Neruon_Form.nf = this;
     FormRect       = new Rectangle(
         ClientRectangle.X,
         ClientRectangle.Y,
         ClientRectangle.Width,
         ClientRectangle.Height
         );
 }