예제 #1
0
        private void SplashScreen_Load(object sender, EventArgs e)
        {
            BackgroundWorker bw = new BackgroundWorker();

            bw.WorkerReportsProgress = true;

            DataAccessClass DAC = new DataAccessClass();

            bw.DoWork += new DoWorkEventHandler((obj, args) =>
            {
                dtsAlles1 = DAC.VulAdapters(bw, dtsAlles1);
            });

            bw.ProgressChanged += new ProgressChangedEventHandler((obj, args) =>
            {
                prgLoading.Value = args.ProgressPercentage;
                lblInfo.Text     = args.UserState.ToString() + " inladen";
            });

            bw.RunWorkerCompleted += new RunWorkerCompletedEventHandler((obj, args) =>
            {
                Dashboard dashboard = new Dashboard(DAC, dtsAlles1);

                this.Hide();
                dashboard.FormClosing += (o, a) => this.Close();
                dashboard.Show();
            });

            bw.RunWorkerAsync();
        }
예제 #2
0
        public frmTags(DataAccessClass DAC, dtsAlles dtsAlles)
        {
            InitializeComponent();

            this.DAC       = DAC;
            this.dtsAlles1 = dtsAlles;
        }
예제 #3
0
        public Dashboard(DataAccessClass DAC, dtsAlles dtsAlles)
        {
            InitializeComponent();

            this.DAC       = DAC;
            this.dtsAlles1 = dtsAlles;
        }
예제 #4
0
        public KiesSerie(DataAccessClass DAC, dtsAlles dtsAlles)
        {
            InitializeComponent();

            this.DAC  = DAC;
            dtsAlles1 = dtsAlles;
        }
예제 #5
0
        public FilmToevoegen(DataAccessClass DAC, dtsAlles dtsAlles, int filmId)
        {
            InitializeComponent();

            this.DAC       = DAC;
            this.dtsAlles1 = dtsAlles;

            this.filmId = filmId;
        }
예제 #6
0
        //public FilmsTableAdapter FilmsAdapter;

        public FilmZoeken(DataAccessClass DAC, dtsAlles dtsAlles, string titel, int jaartal)
        {
            InitializeComponent();

            this.DAC       = DAC;
            this.dtsAlles1 = dtsAlles;

            this.titel   = titel;
            this.jaartal = jaartal;
        }