示例#1
0
        public Form1()
        {
            InitializeComponent();
            this.BackColor = Color.FromArgb(18, 176, 176);


            //datagrid forrás beállítás
            DataTable dt = OperationsUtility.CreateDataTable();

            dataGridView1.DataSource = dt;


            //TIMER beállítások
            timer1.Interval = 5000;
            timer1.Enabled  = true;
        }
示例#2
0
        //CSV Export
        private void button2_Click(object sender, EventArgs e)
        {
            DataTable dt = OperationsUtility.CreateDataTable();

            dt.ToCSV("test3");
        }