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