private void GC_ProjectToBuild_DoubleClick(object sender, EventArgs e) { lbl_TitreProject.Text = "Projet choisi : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["NAME"].ToString(); Lbl_DescriptionDetail.Text = "Description : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["DESCRIPTION"].ToString(); lbl_CultureDetail.Text = "NDEV Culture : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["CULTURE"].ToString(); lbl_TechnologieDetail.Text = "NDEV Technologie : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["TECHNOLOGIE"].ToString(); lbl_DefenseDetail.Text = "NDEV Défense : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["DEFENSE"].ToString(); lbl_NourritureDetail.Text = "NDEV Nourriture : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["NOURRITURE"].ToString(); lbl_SkillDetail.Text = "Compétence : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["SKILL"].ToString(); lbl_OtherDetail.Text = "Autre pré-requis : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["OTHER"].ToString(); lbl_TempsTravailDetail.Text = "Temps de travail : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["WORK"].ToString(); lbl_SpecialDetail.Text = "Spécial : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["SPECIAL"].ToString(); lbl_BonusDetail.Text = "Bonus : " + XmlProjectSource.Tables["PROJECT"].Rows[((DevExpress.XtraGrid.Views.Base.ColumnView)((DevExpress.XtraGrid.GridControl)sender).FocusedView).FocusedRowHandle]["BONUS"].ToString(); FP_DetailCard.ShowPopup(); }
private void FP_DetailCard_ButtonClick(object sender, DevExpress.Utils.FlyoutPanelButtonClickEventArgs e) { FP_DetailCard.HidePopup(); }