Ejemplo n.º 1
0
 public AlphaForm(int size, System.Drawing.Point p)
 {
     altTab        = new AltTab();
     StartPosition = FormStartPosition.Manual;
     this.Location = p;
     InitializeComponent();
     this.SelectBitmap(new Bitmap(Resources.Image, size, size), 255);
 }
Ejemplo n.º 2
0
        public StandardForm(int size, Point p)
        {
            altTab        = new AltTab();
            StartPosition = FormStartPosition.Manual;
            this.Location = p;
            InitializeComponent();
            Rectangle screenRectangle = RectangleToScreen(this.ClientRectangle);

            this.Height = screenRectangle.Top - this.Top + size;
            this.Width  = size;
        }