Пример #1
0
        void EditAdapteveHWProfileToolStripMenuItemClick(object sender, EventArgs e)
        {
            DataGridView dgv = this.ActiveControl as DataGridView;

            if (dgv == null)
            {
                return;
            }
            int        index = (dgv.SelectedCells[0].OwningRow.Index);
            EveAccount eA    = Cache.Instance.EveAccountSerializeableSortableBindingList.List[index];

            var hwPf = new HWProfileForm(eA);

            hwPf.Show();
        }
Пример #2
0
        void EditAdapteveHWProfileToolStripMenuItemClick(object sender, EventArgs e)
        {
            var dgv = this.ActiveControl as DataGridView;
            if ( dgv == null) return;
            int index = (dgv.SelectedCells[0].OwningRow.Index);
            EveAccount eA = Cache.Instance.EveAccountSerializeableSortableBindingList.List[index];

            var hwPf = new HWProfileForm(eA);
            hwPf.Show();
        }