示例#1
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="event_control"></param>
        public MenuEvent(EventControl event_control)
        {
            InitializeComponent();
            this.event_control = event_control;

            this.AutoScaleMode = AutoScaleMode.Inherit;
        }// End of Constructor function
示例#2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="event_control"></param>
 public DetailEvent(EventControl event_control)
 {
     // Default stuff
     InitializeComponent();
     /// Load the event control injected
     this.event_control = event_control;
 }// End of Constructor function
示例#3
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="competition_control"></param>
        public NewCompetition(EventControl event_control)
        {
            InitializeComponent();

            this.event_control     = event_control;
            openFileDialog1.Title  = "Open Image";
            openFileDialog1.Filter = "Image files (*.jpg, *.jpeg, *.jpe, *.jfif, *.png) | *.jpg; *.jpeg; *.jpe; *.jfif; *.png";
        }// End of Constructor function
示例#4
0
 /// <summary>
 /// Report control constructor
 /// </summary>
 public ReportControl(EventControl event_control)
 {
     InitializeComponent();
     // Set the event control
     this.event_control = event_control;
     // Init the evetu
     eventou = new Event();
     // Init the competitions list
     competitions = new List <Competition>();
     // Init the competitions list of strings
     competitions_strings = new List <string>();
     // init the categories list
     categories = new List <Category>();
     // init the categories strings list
     categories_strings = new List <string>();
 }// End of Report Control constructor
示例#5
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="event_control"></param>
        public ListEvent(EventControl event_control)
        {
            InitializeComponent();

            this.event_control = event_control;
        }// End of Constructor function