private void NewItem(object sender, EventArgs e) { var newSms = new SmsForm(currentUser); var result = newSms.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK) { RefreshItems(sender, e); } }
private void NewItem(object sender, EventArgs e) { var newSms = new SmsForm(currentUser); var result = newSms.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK) { RefreshItems(sender, e); } }
private void UpdateItem(object sender, EventArgs e) { var item = dataGridView.SelectedRows[0].DataBoundItem as Sms; var newSms = new SmsForm(item.Id, currentUser); var result = newSms.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK) { RefreshItems(sender, e); } }
private void UpdateItem(object sender, EventArgs e) { var item = dataGridView.SelectedRows[0].DataBoundItem as Sms; var newSms = new SmsForm(item.Id, currentUser); var result = newSms.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK) { RefreshItems(sender, e); } }