private void grdLabelFormats_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { var f = new frmLabelFormats(m_config.LabelFormats[e.RowIndex]); f.StartPosition = FormStartPosition.CenterScreen; f.AddedOrUpdated += RefreshGrid; f.ShowDialog(); }
private void AddItem() { var f = new frmLabelFormats(m_config.Id); f.StartPosition = FormStartPosition.CenterScreen; f.AddedOrUpdated += RefreshGrid; f.ShowDialog(); }