using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Raport
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'NorthwindDataSet.Order_Details_Extended' table. 
            // You can move, or remove it, as needed.
            this.Order_Details_ExtendedTableAdapter.
                Fill(this.NorthwindDataSet.Order_Details_Extended);       
            this.reportViewer1.RefreshReport();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            new pracownicyForm().ShowDialog();
        }
    }
}
