protected void SentTabToMain(ushort procType, DataTable dataTable) { //if (ProcType_1 == procType) //{ var generateReportsMessage = new SentDataTab(dataTable, procNomber); Messenger.Default.Send(generateReportsMessage); //} }
public virtual void Calculate(SentDataTab dataTab) { switch (dataTab.ProcNumber) { case 1: currentTab_1 = dataTab.DataTable.Copy(); break; case 2: currentTab_2 = dataTab.DataTable.Copy(); break; case 3: currentTab_3 = dataTab.DataTable.Copy(); break; } CalcCoef(dataTab.DataTable, dataTab.ProcNumber); }