Ejemplo n.º 1
0
        private void fab_OnClick(object sender, EventArgs e)
        {
            var wizard = new MemberWizard();

            wizard.EditMode = EnumHelper.EditMode.Add;
            wizard.ShowDialog();
        }
Ejemplo n.º 2
0
 private void ShowItem()
 {
     if (lvList.SelectedItem != null)
     {
         Guid memberId = Guid.Empty;
         if (Guid.TryParse(lvList.SelectedItem.SubItems[2].Text, out memberId))
         {
             MemberWizard wizMember = new MemberWizard();
             wizMember.MemberId = memberId;
             wizMember.EditMode = EnumHelper.EditMode.Edit;
             wizMember.Closed  += new EventHandler(wizSupplier_Closed);
             wizMember.ShowDialog();
         }
     }
 }