public void SendMessageBox(MessageBoxInformation messageBoxInformation) { LogService.Send((string)Application.Current.Resources["OpenMessageBox"]); var serializer = new Serializer(typeof(MessageBoxInformation)); ConnectionInfo.SendCommand(this, serializer.Serialize(messageBoxInformation)); }
private void btnSalvar_Click(object sender, EventArgs e) { try { SetEntityFromControl.Instance.Execute(cliente, this); } catch (PropertyListException E) { MessageBoxInformation.Show(this, E.Message); return; } EntityManagerCliente.Instance.Entity = cliente; EntityManagerCliente.Instance.Post(); gridCliente.DataSource = EntityManagerCliente.Instance.List(); }