예제 #1
0
        public void RemoveRegionEventCall(object sender)
        {
            RegionEventArgs eventArgs = new RegionEventArgs()
            {
                Region = SelectedRegionItem
            };

            RemoveRegionEventHandler?.Invoke(this, eventArgs);

            if (eventArgs.Success == true)
            {
                RegionList.Remove(eventArgs.Region);
            }
        }
예제 #2
0
        private void selectedRegion_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var tmp = selectedRegion.SelectedItem as return_getRegionTreeNodeList;

            _regionList.Remove(tmp);
        }