public Form1() { InitializeComponent(); OrderInfoCollection orderInfoCollection = new OrderInfoCollection("nomes.txt", "estados.txt"); sfDataGrid2.DataSource = orderInfoCollection.Orders; ExcelCreator.CreateExcel("nomes.txt", "estados.txt"); }
public static ExcelCreator GetInstance() { if (_instance == null) { _instance = new ExcelCreator(); } return(_instance); }