/**
         *
         * This method is used to initialized the form
         *
         **/
        public frmReviewAdd(frmReviews reviewsForm)
        {
            // Initialize the form component
            InitializeComponent();

            // Set class variables
            this.reviewsForm = reviewsForm;
        }
Beispiel #2
0
        /**
         *
         * This method is used to initialize frmReviewEdit form
         *
         * @param editReview: is the review being edited
         * @param reviewsForm: is the reviews form that is needed for some controls
         *
         **/
        public frmReviewEdit(Review editReview, frmReviews reviewsForm)
        {
            // Initialize the form component
            InitializeComponent();

            // Set the class variables
            this.editReview  = editReview;
            this.reviewsForm = reviewsForm;
        }