private void nowaToolStripMenuItem1_Click(object sender, EventArgs e) { if (!RuntimeSettings.CurrentUser.IsAuthorized()) { return; } frmSet FrmSet = new frmSet(this); FrmSet.Show(this); }
private void View(object sender, EventArgs e) { int id = Convert.ToInt32(dgItems.Rows[dgItems.CurrentCell.RowIndex].Cells[0].Value); Set Item = new Set(); Item = Keeper.Items.Where(u => u.SetId == id).FirstOrDefault(); frmSet FrmSet = new frmSet(Item, this); FrmSet.Show(); }
private void Add(object sender, EventArgs e) { frmSet FrmSet = new frmSet(this); FrmSet.Show(); }