Exemple #1
0
        private void dtgv_ListProject_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            int id = Convert.ToInt32(dtgv_ListProject.Rows[e.RowIndex].Cells[0].Value);

            this.Hide();
            f_ProjectDetail f = new f_ProjectDetail(id);

            f.ShowDialog();
            LoadProjectsToFlowLayoutPanel();
            this.Show();
        }
Exemple #2
0
        private void Mtl_Click(object sender, EventArgs e)
        {
            int id = (int)(sender as MetroLink).Tag;

            f_ProjectDetail f = new f_ProjectDetail(id);

            this.Hide();
            f.ShowDialog();
            LoadProjectsToFlowLayoutPanel();
            this.Show();
        }