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); }
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; }