Пример #1
0
        public RedBlack()
        {
            opened = this;

            InitializeComponent();
            this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.Opaque | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true);
            vw = new VirtualWindow(this);
        }
Пример #2
0
 private void RedBlack_FormClosing(object sender, FormClosingEventArgs e)
 {
     e.Cancel = false;
     opened   = null;
 }