protected virtual void OnPropertiesClicked(object sender, System.EventArgs e) { object cur = addressview.GetCurrentObject(); if (cur == null) return; if (cur is Address) { na = (Address) cur; NewAddress dlg = new NewAddress (na); dlg.Run(); dlg = null; } else { ng = (AddressGroup) cur; NewGroup dlg = new NewGroup (ng); dlg.Run(); dlg = null; } }
protected virtual void OnNewgroupClicked(object sender, System.EventArgs e) { ng = new AddressGroup("untitled"); NewGroup dlg = new NewGroup (ng); dlg.Run(); list.Add (ng); dlg = null; }
protected virtual void OnNewgroupClicked(object sender, System.EventArgs e) { ng = new AddressGroup("untitled"); NewGroup dlg = new NewGroup(ng); dlg.Run(); list.Add(ng); dlg = null; }
protected virtual void OnPropertiesClicked(object sender, System.EventArgs e) { object cur = addressview.GetCurrentObject(); if (cur == null) { return; } if (cur is Address) { na = (Address)cur; NewAddress dlg = new NewAddress(na); dlg.Run(); dlg = null; } else { ng = (AddressGroup)cur; NewGroup dlg = new NewGroup(ng); dlg.Run(); dlg = null; } }