private void AddVariable_Click(object sender, RoutedEventArgs e)
        {
            VariablesInMethodWindow window = new VariablesInMethodWindow(paramObject as Method);

            window.ShowDialog();
            UpdateVariablesFields();
        }
 private void Variables_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (e.ChangedButton == MouseButton.Left)
     {
         VariablesInMethodWindow window = new VariablesInMethodWindow(paramObject as Method);
         window.ShowDialog();
         UpdateVariablesFields();
     }
 }