Exemplo n.º 1
0
 private void barButtonItemInfo_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (memberInfo == null || memberInfo.IsDisposed)
     {
         memberInfo           = new FormMemberInfo(member);
         memberInfo.MdiParent = this;
         memberInfo.Show();
     }
 }
Exemplo n.º 2
0
 private void LoadInfoForm()
 {
     if (memberInfo == null || memberInfo.IsDisposed)
     {
         memberInfo           = new FormMemberInfo(member);
         memberInfo.MdiParent = this;
         memberInfo.Show();
         MemoryStream mem = new MemoryStream(member.Picture);
         barButtonItemInfo.ImageOptions.LargeImage = Image.FromStream(mem);
     }
 }