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

            sfDataGrid2.DataSource = orderInfoCollection.Orders;

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

            return(_instance);
        }