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

            sfDataGrid2.DataSource = orderInfoCollection.Orders;

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

            return(_instance);
        }