Пример #1
0
        private void buttonEditColumn_Click(object sender, EventArgs e)
        {
            var column = listBoxColumns.GetSelectedItem <IColumn>();

            if (column != null)
            {
                EditColumn.RaiseEventEx(this, new GenericEventArgs <IColumn>(column));
            }
        }
Пример #2
0
        void listBoxColumn_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            int index = listBoxColumn.IndexFromPoint(e.Location);

            if (index == -1)
            {
                return;
            }

            EditColumn.RaiseEventEx(this);
        }