Exemplo n.º 1
0
        private void bttOpen_Click(object sender, EventArgs e)
        {
            FDLog_AddEdit dae = new FDLog_AddEdit();

            int currID = Convert.ToInt32(lvwItems.SelectedItems[0].Text);

            dae.ProjectID = currID;
            dae.ShowDialog();
            dae.Close();
        }
Exemplo n.º 2
0
        private void lvwProjects_DoubleClick(object sender, EventArgs e)
        {
            FDLog_AddEdit dae = new FDLog_AddEdit();

            if (lvwItems.SelectedItems.Count > 0)
            {
                int currID = Convert.ToInt32(lvwItems.SelectedItems[0].Text);
                dae.ProjectID = currID;
                dae.ShowDialog();
                dae.Close();
            }
        }