Example #1
0
        private void LayoutPropertyGrid_KeyUp(object sender, KeyEventArgs e)
        {
            switch (e.KeyCode)
            {
            case Keys.Delete:
                _layoutControl.DeleteSelected();
                break;

            case Keys.F5:
                _layoutControl.RefreshElements();
                break;
            }
        }
Example #2
0
 private void btnRemove_Click(object sender, EventArgs e)
 {
     _layoutControl.DeleteSelected();
 }