コード例 #1
0
        DialogResult ICyParamEditHook_v1.EditParams(ICyInstEdit_v1 edit, ICyTerminalQuery_v1 termQuery, ICyExpressMgr_v1 mgr)
        {
            parameters = new MultAccParameters(edit);
            CyParamExprDelegate paramChange = delegate(ICyParamEditor custEditor, CyCompDevParam param)
            {
                parameters.GetParams();
            };

            ICyTabbedParamEditor editor = edit.CreateTabbedParamEditor();

            editor.AddCustomPage("Properties", new MultAccEditingControl(parameters), paramChange, "Properties");

            editor.AddDefaultPage("Built-in", "Built-in");

            parameters.GetParams();

            return(editor.ShowDialog());
        }
コード例 #2
0
        DialogResult ICyParamEditHook_v1.EditParams(ICyInstEdit_v1 edit, ICyTerminalQuery_v1 termQuery, ICyExpressMgr_v1 mgr)
        {
            parameters = new MultAccParameters(edit);
            CyParamExprDelegate paramChange = delegate(ICyParamEditor custEditor, CyCompDevParam param)
            {
                parameters.GetParams();
            };

            ICyTabbedParamEditor editor = edit.CreateTabbedParamEditor();

            editor.AddCustomPage("Properties", new MultAccEditingControl(parameters), paramChange, "Properties");

            editor.AddDefaultPage("Built-in", "Built-in");

            parameters.GetParams();

            return editor.ShowDialog();
        }
コード例 #3
0
 public MultAccEditingControl(MultAccParameters parameters)
 {
     control            = new MultAccControl(parameters);
     parameters.control = control;
     control.Dock       = DockStyle.Fill;
 }
コード例 #4
0
 public MultAccEditingControl(MultAccParameters parameters)
 {
     control = new MultAccControl(parameters);
     parameters.control = control;
     control.Dock = DockStyle.Fill;
 }
コード例 #5
0
 public MultAccControl(MultAccParameters parameters)
 {
     InitializeComponent();
     this.parameters = parameters;
     UpdateForm();
 }
コード例 #6
0
 public MultAccControl(MultAccParameters parameters)
 {
     InitializeComponent();
     this.parameters = parameters;
     UpdateForm();
 }