ECO - Showing an AutoForm from code C#
If you want the double-click to open your own form, then you may need to open the autoform from a different event. Use this code to fire one up - assuming a CurrencyManagerHandle is used to track the grid:
if (cmhGrid.Element != null){
AutoContainerArgs args = new AutoContainerArgs(EcoSpace);
IAutoContainer a = AutoContainerService.Instance.CreateContainer(cmhGrid.Element,args);
(a as Control).Show();
}
if (cmhGrid.Element != null){
AutoContainerArgs args = new AutoContainerArgs(EcoSpace);
IAutoContainer a = AutoContainerService.Instance.CreateContainer(cmhGrid.Element,args);
(a as Control).Show();
}