예제 #1
0
 private void officeNavigationBar1_QueryPeekFormContent(object sender, DevExpress.XtraBars.Navigation.QueryPeekFormContentEventArgs e)
 {
     if (e.Item.Text == "Item1")
     {
         e.Control = new XtraUserControl()
         {
             BackColor = Color.Green
         }
     }
     ;
     if (e.Item.Text == "Item2")
     {
         e.Control = new XtraUserControl()
         {
             BackColor = Color.DeepSkyBlue
         }
     }
     ;
 }
예제 #2
0
 private void officeNavigationBar1_QueryPeekFormContent(object sender, DevExpress.XtraBars.Navigation.QueryPeekFormContentEventArgs e)
 {
 }