/// <summary> /// Use this constructor for edit mode. /// </summary> public AddProxyGroupDialog(object caller, ProxyGroupEntity entity) { this.caller = caller; InitializeComponent(); this.entity = entity; nameTextbox.Text = entity.Name; }
public async void EditGroup(ProxyGroupEntity entity) { try { await vm.EditGroup(entity); } catch (Exception ex) { Alert.Exception(ex); } }