示例#1
0
        public UcHistoryTicket(T_UPDATE_TICKET update)
        {
            InitializeComponent();
            updateTicket = update;

            InitializeDisplay();
            InitializeControls(update);
        }
示例#2
0
        /*_____________________________________________________________________________________________*/
        #endregion

        // Données
        #region Données
        private void InitializeControls(T_UPDATE_TICKET update)
        {
            int iLevelTicket = update.T_LEVEL_TICKET.GRADE_LEVEL_TICKET;

            this.lblLevelIndicator.BackColor = System.Drawing.ColorTranslator.FromHtml(liLevelTicketColor.ElementAtOrDefault(iLevelTicket));
            this.lblOperator.Text            = update.T_OPERATOR.LOGIN_OPERATOR;
            this.lblUpdateDate.Text          = update.DATE_UPDATE_TICKET.ToString();
            this.lblUpdateState.Text         = update.T_TICKET_STATE.NAME_TICKET_STATE;
            this.lblDelegatedOperateur.Text  = update.T_OPERATOR1.LOGIN_OPERATOR;
        }