Exemple #1
0
 public void SomeMethod()
 {
     using (var detailForm = new DetailForm(this))
     {
         detailForm.ShowDialog();
     }
 }
Exemple #2
0
 public void SomeMethod()
 {
     using (var detailForm = new DetailForm(this))
     {
         detailForm.ShowDialog();
     }
 }
Exemple #3
0
        public void SomeMethod()
        {
            using (var detailForm = new DetailForm())
            {
                detailForm.ShowDialog();

                Name = detailForm.Name;
                Age = detailForm.Age;
            }
        }
Exemple #4
0
        public void SomeMethod()
        {
            using (var detailForm = new DetailForm())
            {
                detailForm.ShowDialog();

                Name = detailForm.Name;
                Age  = detailForm.Age;
            }
        }
        private void dgvAnimeList_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var i = e.RowIndex;

            if (dgvAnimeList.Rows.Count != 0)
            {
                var detail = new DetailForm();
                detail.pkgID = allList[i].package_anim;
                detail.ShowDialog();
            }
        }