Esempio n. 1
0
        public Form1()
        {
            InitializeComponent();
            OrderInfoCollection orderInfoCollection = new OrderInfoCollection("nomes.txt", "estados.txt");

            sfDataGrid2.DataSource = orderInfoCollection.Orders;

            ExcelCreator.CreateExcel("nomes.txt", "estados.txt");
        }
Esempio n. 2
0
        public static ExcelCreator GetInstance()
        {
            if (_instance == null)
            {
                _instance = new ExcelCreator();
            }

            return(_instance);
        }