   Accessing other Forms
  Hello,I am developing a simple program in Visual C++ (on VS 05 .net). Everything was fine until I added a second form. Here is my layout:My main form' table layout panel is populated with instances of my user control. I setup an event on that user control for Double Clicks. I want to make it so, when I double click that user control it opens a new form, which will let me edit that form and such. Here is my code:---------------------------------------------#include "options.h"class options;private: System::Void test_DoubleClick(System::Object^  sender, System::EventArgs^  e)  { options ^c = gcnew options;   }---------------------------------------------Errors:'^' : cannot use this indirection on type 'options''gcnew' may only be used to create an object with managed type'options' : no appropriate default constructor available---------------------------------------------My code seems right, I have tried it a couple of different ways and it does not work. However I used the same method to access my user control from my main form. Any help would be appreciated.   
  class options; forward declares a non-managed type. You want a managed type, which you use ref class to declare.   ;  That cleared up some errors thanks! I still get:error C2512: 'options' : no appropriate default constructor availableoptions is the name of my second form, I am confused as to why I get this error. It does have a constructor, I see it in options.h   ;  But does it have a default constructor?   ;  This is a default constructor right? void isn't really an argument?options(void){InitializeComponent();////TODO: Add the constructor code here//};  Do you still have the forward declaration?   ;  This is in myusercontrol.h file after #pragma once, and options.h is my second form for the solution.#include "options.h"ref class options;   ;  Take out the forward declaration. It sounds like it's shadowing the actual form class.   ;  Yeah this is where I was getting confused. After removing it I get these errors, which seem strange:Line of code:options ^c = gcnew options;Errors::error C2065: 'options' : undeclared identifiererror C2065: 'c' : undeclared identifiererror C2061: syntax error : identifier 'options'I appreciate your help.;  What does options.h look like?   