public RedBlack() { opened = this; InitializeComponent(); this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true); vw = new VirtualWindow(this); }
private void RedBlack_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = false; opened = null; }