Пример #1
0
        private void delCol(object sender, RoutedEventArgs e)
        {
            int id = int.Parse(columns.Columns3.CurrentItem.ToString());

            try
            {
                InterfaceLayer.DelColumn(InterfaceLayer.getBoard(), id);
                errors.error = "";
                refresh();
            }
            catch (AlmogException exi)
            {
                errors.error = (String)exi.Value;
            }
        }