private void noweToolStripMenuItem_Click(object sender, EventArgs e) { if (!RuntimeSettings.CurrentUser.IsAuthorized()) { return; } frmProcess FrmProcess = new frmProcess(this); FrmProcess.Show(this); }
private void View(object sender, EventArgs e) { int id = Convert.ToInt32(dgItems.Rows[dgItems.CurrentCell.RowIndex].Cells[0].Value); Process Process = new Process(); Process = Keeper.Items.Where(u => u.ProcessId == id).FirstOrDefault(); frmProcess FrmProcess = new frmProcess(Process, this); FrmProcess.Show(); if (FrmProcess.ForceRefresh) { Reload(); } }
private void Add(object sender, EventArgs e) { frmProcess FrmProcess = new frmProcess(this); FrmProcess.Show(); }