Control TabCreate(ExtendedControls.TabStrip t, int si) // called by tab strip when selected index changes.. create a new one.. only create. { PopOutControl.PopOuts i = (PopOutControl.PopOuts)(si + PopOutControl.PopOuts.StartTabButtons); _discoveryForm.ActionRun("onPanelChange", "UserUIEvent", null, new Conditions.ConditionVariables(new string[] { "PanelTabName", PopOutControl.popoutinfo[i].WindowRefName, "PanelTabTitle", PopOutControl.popoutinfo[i].WindowTitlePrefix, "PanelName", t.Name })); return(PopOutControl.Create(i)); }
Control TabCreate(ExtendedControls.TabStrip t, int si) // called by tab strip when selected index changes.. create a new one.. only create. { Control c = PopOutControl.Create(si); c.Name = PopOutControl.PopOutList[si].WindowTitlePrefix; // tabs uses Name field for display, must set it _discoveryForm.ActionRun(Actions.ActionEventEDList.onPanelChange, null, new Conditions.ConditionVariables(new string[] { "PanelTabName", PopOutControl.PopOutList[si].WindowRefName, "PanelTabTitle", PopOutControl.PopOutList[si].WindowTitlePrefix, "PanelName", t.Name })); return(c); }
Control TabCreate(ExtendedControls.TabStrip t, int si) // called by tab strip when selected index changes.. create a new one.. only create. { PopOutControl.PopOuts i = (PopOutControl.PopOuts)si; Control c = PopOutControl.Create(i); c.Name = PopOutControl.GetPopOutName(i); // tabs uses Name field for display, must set it _discoveryForm.ActionRun("onPanelChange", "UserUIEvent", null, new Conditions.ConditionVariables(new string[] { "PanelTabName", PopOutControl.popoutinfo[i].WindowRefName, "PanelTabTitle", PopOutControl.popoutinfo[i].WindowTitlePrefix, "PanelName", t.Name })); return(c); }