J
Jonathan Ruckert
Hi All,
I am trying to bind a new command using the KeyBindings.Add command. It is
successful in recognising inbuilt existing commands (e.g. FileOpen etc),
however when i try to call a function within my own code it doesnt work.
The question is do i need to declare a function in any special way for it to
be recognised? (ComVisible?)
e.g.
public void TestFunction()
{
MessageBox.Show("Test");
}
I am trying to bind a new command using the KeyBindings.Add command. It is
successful in recognising inbuilt existing commands (e.g. FileOpen etc),
however when i try to call a function within my own code it doesnt work.
The question is do i need to declare a function in any special way for it to
be recognised? (ComVisible?)
e.g.
public void TestFunction()
{
MessageBox.Show("Test");
}