Пример #1
0
        private FormulierElement AddGegevensOntvangerSector()
        {
            FormulierSectie formulierSectie = new FormulierSectie()
            {
                Row           = 1,
                Rows          = 1,
                Column        = 1,
                Columns       = 10,
                Title         = "Gegevens ontvanger",
                SectionNumber = 1,
            };
            List <FormulierElement> formulierElements = new List <FormulierElement>()
            {
                new FormulierVraag {
                    Row = 1, Column = 1, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "a"
                },
                new FormulierVraag
                {
                    Row = 1, Column = 0, Columns = 2, Text = "Is de ontvanger een instelling of bedrijf?", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 1, Rows = 1, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.CheckBox, AntwoordToelichting = "Nee.Ga verder met vraag 1d."
                        },
                        new FormulierAntwoord {
                            Row = 1, Rows = 1, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.CheckBox, AntwoordToelichting = "Ja.Ga verder met vraag 1b."
                        },
                    },
                },

                new FormulierVraag {
                    Row = 2, Column = 1, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "b"
                },
                new FormulierVraag
                {
                    Row = 2, Column = 0, Columns = 2, Text = "Naam instelling of bedrijf", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 2, Column = 0, Columns = 6, SoortAntwoord = SoortAntwoord.Text
                        },
                    },
                },

                new FormulierVraag {
                    Row = 3, Column = 1, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "c"
                },
                new FormulierVraag
                {
                    Row = 3, Column = 0, Columns = 2, Text = "RSIN/fiscaal nummer", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 3, Column = 0, Columns = 6, SoortAntwoord = SoortAntwoord.Text, AntwoordToelichting = "Ga verder met vraag 2."
                        },
                    },
                },
            };

            formulierSectie.SectionKinderen = formulierElements;
            return(formulierSectie);
        }
Пример #2
0
        /// <summary>
        /// Create een nieuwe sectie waar de elementen van het bedrijf staat.
        /// </summary>
        /// <returns>Nieuwe element.</returns>
        private FormulierElement AddGegevensVergunning()
        {
            FormulierSectie formulierSectie = new FormulierSectie()
            {
                Row           = 2,
                Rows          = 0,
                Column        = 0,
                Columns       = 12,
                Title         = "Uw bedrijfsgegevens",
                SectionNumber = 2,
            };

            List <FormulierElement> secties = new List <FormulierElement>()
            {
                new FormulierVraag {
                    Row = 1, Column = 0, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "a"
                },
                new FormulierVraag()
                {
                    Row = 1, Rows = 1, Column = 0, Columns = 2, Text = "Naam vergunning ", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord()
                        {
                            Row = 1, Rows = 1, Column = 0, Columns = 8, SoortAntwoord = SoortAntwoord.Text
                        }
                    }
                },
                new FormulierVraag {
                    Row = 2, Column = 0, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "b"
                },
                new FormulierVraag()
                {
                    Row = 2, Rows = 2, Column = 0, Columns = 2, Text = "Vergunningnummer", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord()
                        {
                            Row = 2, Rows = 2, Column = 0, Columns = 8, SoortAntwoord = SoortAntwoord.Text
                        }
                    }
                },
            };

            formulierSectie.SectionKinderen = secties;
            return(formulierSectie);
        }
Пример #3
0
        /// <summary>
        /// Create een nieuwe sectie waar de elementen van het bedrijf staat.
        /// </summary>
        /// <returns>Nieuwe element.</returns>
        private FormulierElement AddGegevensAangifteOfBewijsstuk()
        {
            FormulierSectie formulierSectie = new FormulierSectie()
            {
                Row           = 4,
                Rows          = 0,
                Column        = 0,
                Columns       = 12,
                Title         = "Gegevens kennisgeving",
                SectionNumber = 4,
            };

            List <FormulierElement> secties = new List <FormulierElement>()
            {
                new FormulierVraag {
                    Row = 1, Column = 0, Columns = 1, Text = "Nr."
                },
                new FormulierVraag {
                    Row = 1, Column = 0, Columns = 2, Text = "A Aangifte of bewijsstuk"
                },
                new FormulierVraag {
                    Row = 1, Column = 0, Columns = 2, Text = "B Nummer aangifte of bewijsstuk"
                },
                new FormulierVraag {
                    Row = 1, Column = 0, Columns = 3, Text = "C Goederenomschrijving en alco-holpercentage of platogehalte"
                },
                new FormulierVraag {
                    Row = 1, Column = 0, Columns = 1, Text = "D Goederen-code"
                },
                new FormulierVraag {
                    Row = 1, Column = 0, Columns = 1, Text = "E Aantal colli"
                },
                new FormulierVraag {
                    Row = 1, Column = 0, Columns = 1, Text = "F Gewicht, liters, stuks"
                },
                new FormulierVraag
                {
                    Row = 2, Column = 0, Columns = 1, Text = "01", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 2, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 2, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 2, Column = 0, Columns = 3, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 2, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 2, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 2, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                    },
                },
                new FormulierVraag
                {
                    Row = 3, Column = 0, Columns = 1, Text = "02", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 3, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 3, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 3, Column = 0, Columns = 3, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 3, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 3, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 3, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                    },
                },
                new FormulierVraag
                {
                    Row = 4, Column = 0, Columns = 1, Text = "03", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 4, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 4, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 4, Column = 0, Columns = 3, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 4, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 4, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 4, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                    },
                },
                new FormulierVraag
                {
                    Row = 5, Column = 0, Columns = 1, Text = "04", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 5, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 5, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 5, Column = 0, Columns = 3, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 5, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 5, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 5, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                    },
                },

                new FormulierVraag {
                    Row = 6, Column = 0, Columns = 1, Text = "Nr."
                },
                new FormulierVraag {
                    Row = 6, Column = 0, Columns = 2, Text = "G Herkomst, bestemming"
                },
                new FormulierVraag {
                    Row = 6, Column = 3, Columns = 1, Text = "H Valuta"
                },
                new FormulierVraag {
                    Row = 6, Column = 0, Columns = 2, Text = "I Waarde"
                },
                new FormulierVraag {
                    Row = 6, Column = 0, Columns = 3, Text = "J Verzegeling"
                },

                new FormulierVraag
                {
                    Row = 7, Column = 0, Columns = 1, Text = "01", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 7, Column = 0, Columns = 5, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 7, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 7, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 7, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Ja"
                        },
                        new FormulierAntwoord {
                            Row = 7, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Nee"
                        },
                    },
                },
                new FormulierVraag
                {
                    Row = 8, Column = 0, Columns = 1, Text = "02", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 8, Column = 0, Columns = 5, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 8, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 8, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 8, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Ja"
                        },
                        new FormulierAntwoord {
                            Row = 8, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Nee"
                        },
                    },
                },
                new FormulierVraag
                {
                    Row = 9, Column = 0, Columns = 1, Text = "03", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 9, Column = 0, Columns = 5, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 9, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 9, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 9, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Ja"
                        },
                        new FormulierAntwoord {
                            Row = 9, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Nee"
                        },
                    },
                },
                new FormulierVraag
                {
                    Row = 10, Column = 0, Columns = 1, Text = "04", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord {
                            Row = 10, Column = 0, Columns = 5, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 10, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 10, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Text,
                        },
                        new FormulierAntwoord {
                            Row = 10, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Ja"
                        },
                        new FormulierAntwoord {
                            Row = 10, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Nee"
                        },
                    },
                },
            };

            formulierSectie.SectionKinderen = secties;
            return(formulierSectie);
        }
Пример #4
0
        /// <summary>
        /// Create een nieuwe sectie waar de elementen van het bedrijf staat.
        /// </summary>
        /// <returns>Nieuwe element.</returns>
        private FormulierElement AddGegevensKennisgeving()
        {
            FormulierSectie formulierSectie = new FormulierSectie()
            {
                Row           = 3,
                Rows          = 0,
                Column        = 0,
                Columns       = 12,
                Title         = "Gegevens kennisgeving",
                SectionNumber = 3,
            };

            List <FormulierElement> secties = new List <FormulierElement>()
            {
                new FormulierVraag {
                    Row = 1, Column = 0, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "a"
                },
                new FormulierVraag()
                {
                    Row = 1, Rows = 1, Column = 0, Columns = 2, Text = "Soort kennisgeving", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord()
                        {
                            Row = 1, Rows = 1, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Aankomst/inslag"
                        },
                        new FormulierAntwoord()
                        {
                            Row = 1, Rows = 1, Column = 1, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Vertrek/uitslag"
                        },
                        new FormulierAntwoord()
                        {
                            Row = 1, Rows = 1, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Onregelmatigheden"
                        },
                        new FormulierAntwoord()
                        {
                            Row = 1, Rows = 1, Column = 0, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = " Breuk "
                        },
                        new FormulierAntwoord()
                        {
                            Row = 1, Rows = 1, Column = 1, Columns = 1, SoortAntwoord = SoortAntwoord.RadioButton, AntwoordToelichting = "Bewerkingen"
                        },
                    },
                },
                new FormulierVraag {
                    Row = 2, Column = 0, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "b"
                },
                new FormulierVraag()
                {
                    Row = 2, Rows = 1, Column = 0, Columns = 2, Text = "Nummer van de kennisgeving", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord()
                        {
                            Row = 2, Rows = 1, Column = 0, Columns = 4, SoortAntwoord = SoortAntwoord.Text
                        }
                    }
                },
                new FormulierVraag {
                    Row = 2, Column = 0, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "c"
                },
                new FormulierVraag()
                {
                    Row = 2, Rows = 0, Column = 0, Columns = 1, Text = "Datum ", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord()
                        {
                            Row = 2, Rows = 1, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Date
                        }
                    }
                },

                new FormulierVraag {
                    Row = 3, Column = 0, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "d"
                },
                new FormulierVraag()
                {
                    Row = 3, Rows = 0, Column = 0, Columns = 2, Text = "Plaats van de kennisgeving", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord()
                        {
                            Row = 3, Rows = 1, Column = 0, Columns = 4, SoortAntwoord = SoortAntwoord.Text
                        }
                    }
                },
                new FormulierVraag {
                    Row = 3, Column = 0, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "e"
                },
                new FormulierVraag()
                {
                    Row = 3, Rows = 1, Column = 0, Columns = 1, Text = " Tijdstip", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord()
                        {
                            Row = 3, Rows = 1, Column = 0, Columns = 2, SoortAntwoord = SoortAntwoord.Tijd
                        }
                    }
                },
                new FormulierVraag {
                    Row = 4, Column = 0, Columns = 1, Text = formulierSectie.SectionNumber.ToString() + "f"
                },
                new FormulierVraag()
                {
                    Row = 4, Rows = 1, Column = 0, Columns = 2, Text = "Kenteken of containernr(s)", Antwoorden = new List <FormulierAntwoord>()
                    {
                        new FormulierAntwoord()
                        {
                            Row = 4, Rows = 1, Column = 0, Columns = 4, SoortAntwoord = SoortAntwoord.Text
                        }
                    }
                },
            };

            formulierSectie.SectionKinderen = secties;
            return(formulierSectie);
        }