Exemple #1
0
        private void ListView_StadiumInfo_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            ListViewItem Item = ListView_StadiumInfo.GetItemAt(e.X, e.Y);

            if (Item == null)
            {
                return;
            }

            ItemInfoDialog Dialog = new ItemInfoDialog(Item.Tag as DataRow, this);

            Dialog.ShowDialog();
        }
Exemple #2
0
        private void ListView_StadiumInfo_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            ListViewItem Item = ListView_StadiumInfo.GetItemAt(e.X, e.Y);

            if (Item == null)
            {
                return;
            }
            DataRow         row    = Item.Tag as DataRow;
            CaiJiItemDialog Dialog = new CaiJiItemDialog(new Guid(row["ModuleID"].ToString()),
                                                         Convert.ToBoolean(row["IsActive"]), this);

            Dialog.ShowDialog();
        }