Ejemplo n.º 1
0
        }// End of dashboard_load function

        /// <summary>
        /// Button competitors click
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void bCompetitors_Click(object sender, EventArgs e)
        {
            CompetitorControl competitor_control = Injection.kernel.Get <CompetitorControl>();

            pContent.Controls.Clear();
            pContent.Controls.Add(competitor_control);
        }// End of bCompetitors_Click function
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public DetailCompetitor(CompetitorControl competitor_control)
 {
     // Default sftuff
     InitializeComponent();
     // Load the competitor control from injection by const
     this.competitor_control = competitor_control;
 }// End of Constructor
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="main_control"></param>
 public Menu(CompetitorControl main_control)
 {
     InitializeComponent();
     this.main_control = main_control;
 }// End of Constructor function
Ejemplo n.º 4
0
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="competitor_control"></param>
        public List(CompetitorControl competitor_control)
        {
            InitializeComponent();

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