public TransparencyDialog() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // myView = null; }
public MaterialDlg( OCCTProxy theView ) { this.InitializeComponent(); if ( theView == null ) { MessageBox.Show( "Fatal Error during the graphic initialisation", "Error!" ); } View = theView; SetInitialState(); }
public MaterialDlg(OCCTProxy theView) { this.InitializeComponent(); if (theView == null) { MessageBox.Show("Fatal Error during the graphic initialisation", "Error!"); } View = theView; SetInitialState(); }
public AboutDialog() { // // Required for Windows Form Designer support // InitializeComponent(); // // Create OCCT proxy object and get OCCT version // OCCTProxy t = new OCCTProxy(); t.InitOCCTProxy(); float version = t.GetOCCVersion(); this.myVersion.Text = this.myVersion.Text + version; }
public OCCViewer() { InitializeComponent(); View = new OCCTProxy(); View.InitOCCTProxy(); if (!View.InitViewer(this.Handle)) { MessageBox.Show("Fatal Error during the graphic initialisation", "Error!"); } CurrentMode = CurrentAction3d.CurAction3d_Nothing; CurrentPressedKey = CurrentPressedKey.CurPressedKey_Nothing; IsRectVisible = false; DegenerateMode = true; }
public Form2() { // // Required for Windows Form Designer support // InitializeComponent(); // // Create OCCT proxy object // myOCCTProxy = new OCCTProxy(); myCurrentMode = CurrentAction3d.CurAction3d_Nothing; myCurrentPressedKey = CurrentPressedKey.CurPressedKey_Nothing; myDegenerateModeIsOn = true; IsRectVisible = false; }
public OCCViewer() { InitializeComponent(); View = new OCCTProxy(); View.InitOCCTProxy(); if ( !View.InitViewer( this.Handle ) ) { MessageBox.Show( "Fatal Error during the graphic initialisation", "Error!" ); } CurrentMode = CurrentAction3d.CurAction3d_Nothing; CurrentPressedKey = CurrentPressedKey.CurPressedKey_Nothing; IsRectVisible = false; DegenerateMode = true; }
public void SetContext(OCCTProxy View) { this.myOCCTProxy.SetAISContext(View); }