////////////////////////////////////////////////////////////////////////// //////////// End of common code for setting up the dialog //////////////// ////////////////////////////////////////////////////////////////////////// void SetupForm() { InSetup = true; ValidateViewInitialization(); GeneralPropertiesPanel.Setup(V, EditValueChanged); DataPropertiesPanel.Setup(V, SVP, EditValueChanged); XAxisPanel.Setup(V.XAxis, V, SVP, EditValueChanged); YAxisPanel.Setup(V.YAxis, V, SVP, EditValueChanged); ColorByPanel.Setup(V.ColorAxis, V, SVP, EditValueChanged); ShapeByPanel.Setup(V.ShapeAxis, V, SVP, EditValueChanged); SizeByPanel.Setup(V.SizeAxis, V, SVP, EditValueChanged); TrellisPropertiesPanel.Setup(V, V.Trellis); PropertyDialogsUtil.SelectPropertyPage(CurrentTabName, TabPageSelector, Tabs); InSetup = false; return; }
////////////////////////////////////////////////////////////////////////// //////////// End of common code for setting up the dialog //////////////// ////////////////////////////////////////////////////////////////////////// /// <summary> /// Setup the form /// </summary> void SetupForm() { InSetup = true; ValidateViewInitialization(); GeneralPropertiesPanel.Setup(V, EditValueChanged); DataMapPanel.Setup(SVM, EditValueChanged); PropertyDialogsUtil.SelectPropertyPage(CurrentTabName, TabPageSelector, Tabs); InSetup = false; return; }
private DialogResult ShowDialog2( VisualMsx v, SpotfireViewManager svm) { SVM = svm; V = v; PropertyDialogsUtil.AdjustPropertyPageTabs(Tabs, TabPageSelector, TabsContainerPanel);; SetupForm(); DialogResult dr = ShowDialog(SessionManager.ActiveForm); if (dr == DialogResult.Cancel) { return(dr); } return(dr); }
private DialogResult ShowDialog2( TrellisCardVisualMsx v, SpotfireViewProps svp) { SVP = svp; V = v; PropertyDialogsUtil.AdjustPropertyPageTabs(Tabs, TabPageSelector, TabsContainerPanel);; OriginalChartState = v.Serialize(); SetupForm(); DialogResult dr = ShowDialog(Form.ActiveForm); if (dr == DialogResult.Cancel) { return(dr); } return(dr); }
/////////////////////////////////////////////////////////////////// //////////// Common code for setting up the dialog //////////////// /////////////////////////////////////////////////////////////////// /// <summary> /// Adjust size and positions of main container controls /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void ScatterPlotPropertiesDialog_Shown(object sender, EventArgs e) { PropertyDialogsUtil.AdjustPropertyPageTabs(Tabs, TabPageSelector, TabsContainerPanel); }