private void Form2_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { myOCCTProxy.RedrawView(); myOCCTProxy.UpdateView(); }