private void newUser_Click(object sender, EventArgs e) { //TODO fix it MarketingView mm = new MarketingView(new Marketing()); mm.ShowDialog(); fillGrid(); }
private void marketGrid_CellClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e) { if (e.RowIndex != -1) { MarketingView mm = new MarketingView((Marketing)mbs.Current); mm.ShowDialog(); fillGrid(); } }