예제 #1
0
        // CONSTRUCTORS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        /// <summary>
        /// This is the default constructor.
        /// </summary>
        public MainMenu()
        {
            Connection = new ConnectionClass();
            CurrentRow = null;
            InitializeComponent();
        }
예제 #2
0
        // CONSTRUCTORS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        /// <summary>
        /// This constructor initializes the connection and builds the form.
        /// </summary>
        public ManagementForm()
        {
            Connection = new ConnectionClass();
            InitializeComponent();
        }
        // CONSTRUCTORS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        /// <summary>
        /// This is the default constructor.
        /// </summary>
        public LoginForm()
        {
            Connection          = new ConnectionClass();
            FailedLoginAttempts = 0;
            InitializeComponent();
        }
        // CONSTRUCTORS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        /// <summary>
        /// This is the default constructor.
        /// </summary>
        public UserControl1()
        {
            Connection = new ConnectionClass();
            InitializeComponent();
        }