public ucDataAnalysisTagPage(int iIndex, ucExhaustData uc) { InitializeComponent(); ucEdata = uc; index = iIndex; oneLane = new ucDataAnalysisOneLane(iIndex, uc); pcOnePage.Controls.Add(oneLane); oneLane.Dock = DockStyle.Fill; oneLane.SetLane(curLane); InitializeUI(); }
//[Conditional("VerticalDistribution")] //private void InitData() //{ // pcData.Controls.Clear(); // ucDataAnalysisData ucData = new ucDataAnalysisData(); // pcData.Controls.Add(ucData); //} public wfDataAnalysis(int iIndex, ucExhaustData uc) { InitializeComponent(); index = iIndex; ucEdata = uc; viewNavigator = new ModulesNavigator(Program.frmMain.Ribbon, pcChart); InitializeUI(); InitBarItemLinks(); if (!mvvmContext1.IsDesignMode) { InitializeBindings(); } }
public void InitUI(int index, ucExhaustData uc) { if (ucpage == null) { ucpage = new ucDataAnalysisTagPage(index, uc); this.Controls.Add(ucpage); ucpage.Dock = DockStyle.Fill; } else { ucpage.RefrushData(index); } }
public wfDetialMessage(int index, int cartype, ucExhaustData uc) { InitializeComponent(); iIndex = index; if (uc != null) { ucEdata = uc; } ucDataMessageView ucDM = new ucDataMessageView(); ucDM.Dock = DockStyle.Fill; pcDataMessage.Controls.Add(ucDM); ShowUC(iIndex); InitializeUI(); if (!mvvmContext1.IsDesignMode) { InitializeBindings(); } }
public wfDataAnalysisVertical(int index, ucExhaustData uc) { InitializeComponent(); InitUI(index, uc); InitializeUI(); }