예제 #1
0
        private void AHRemoveFunction_Click(object sender, RoutedEventArgs e)
        {
            StackPanel SP = (StackPanel)this.Parent;

            SP.Children.Remove(this);
            MReference.AHControl.FuncNames.Remove(FunctionData.FunctionName);
            MReference.UnregisterName(FunctionData.FunctionName.Replace('-', '_'));
        }
예제 #2
0
        private void RemoveFunction(object sender, RoutedEventArgs e)
        {
            StackPanel SP = (StackPanel)this.Parent;

            SP.Children.Remove(this);
            MReference.UnregisterName(FunctionName);
            MReference.VedAPI.FNames.Remove(FunctionName);
            MReference.VedAPI.GenerateButton(sender, e);
        }