コード例 #1
0
        private void noweToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (!RuntimeSettings.CurrentUser.IsAuthorized())
            {
                return;
            }
            frmProcess FrmProcess = new frmProcess(this);

            FrmProcess.Show(this);
        }
コード例 #2
0
        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();
            }
        }
コード例 #3
0
        private void Add(object sender, EventArgs e)
        {
            frmProcess FrmProcess = new frmProcess(this);

            FrmProcess.Show();
        }