Exemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     Kernal.CSmartArray array = GetAllZakazArray();
     array.Merge(GetAllTrainArray());
     array.Merge(GetAllPlaneArray());
     array.ExcludeWhatHave(m_AlreadyHave.Copy());
     Kernal.CProductCalc calc = new Kernal.CProductCalc();
     calc.SetArray(array);
     calc.SetAlreadyHave(m_AlreadyHave.Copy());
     for (int i = 0; i < CalcCount; i++)
     {
         calc.Calc();
     }
     ShowResultForm(calc.Print());
     Kernal.CExportAllFactoryHelper helper = new Kernal.CExportAllFactoryHelper(calc.GetFactoryList());
 }
Exemplo n.º 2
0
 private void ExportToExcel(Worksheet pSheet, List <CFactory> pFactory, CSmartArray array)
 {
     CExportAllFactoryHelper excelHelper = new CExportAllFactoryHelper(pSheet, pFactory, array);
 }