示例#1
0
        private void addProjectButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form f = new createEditForm();

            f.Closed += (s, args) => this.Close();
            f.Show();
        }
示例#2
0
        public void retornaEdicao(int IdProjeto)
        {
            ListViewItem selectItem = listViewProj.SelectedItems[0];

            IdProjeto = (int)selectItem.Tag;

            this.Hide();
            Form f = new createEditForm(IdProjeto);

            f.Closed += (s, args) => this.Close();
            f.Show();
        }