示例#1
0
        private void detaliiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Proiecte    proiect = lista.ElementAt(lvAgenda.SelectedIndices[0]);
            FormDetalii form    = new FormDetalii(proiect);

            form.ShowDialog();
        }
示例#2
0
        private void btnDetalii_Click(object sender, EventArgs e)
        {
            EvenimentFirma eveniment = new EvenimentFirma(tbDenumire.Text, tbLocatie.Text, dtpData.Value);
            FormDetalii    form      = new FormDetalii(eveniment);

            form.ShowDialog();
        }
示例#3
0
        private void lvAgenda_KeyDown(object sender, KeyEventArgs e)
        {
            //Ctrl + D ----->Detalii

            if (e.KeyCode == Keys.D && e.Control)
            {
                Proiecte    proiect = lista.ElementAt(lvAgenda.SelectedIndices[0]);
                FormDetalii detalii = new FormDetalii(proiect);
                detalii.Show();
            }

            //Ctrl + E ----->Editeaza
            if (e.KeyCode == Keys.E && e.Control)
            {
                btnEditare_Click(sender, e);
            }
        }
示例#4
0
        private void detaliiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormDetalii form = new FormDetalii();

            form.ShowDialog();
        }
示例#5
0
        private void cmsAdd_Click(object sender, EventArgs e)
        {
            FormDetalii form = new FormDetalii();

            form.ShowDialog();
        }