If you look at the code below i get a error. The line that gives me a error is
m_FormInstance = new Stationstatus(DataTable StationDataTable);
When i make a new object i pass a data table. Can see what the problem may be
DataTable StationDataTable = new DataTable();
public string ActionName = string.Empty;
public Stationstatus(DataTable dt)
{
this.StationDataTable = dt;
InitializeComponent();
}
//Static instance that is stored and referenced out to callers
private static Stationstatus m_FormInstance;
public static Stationstatus GetInstance()
{
//If we do not already have an instance created, make one if (m_FormInstance == null){
m_FormInstance =
new Stationstatus(DataTable StationDataTable);}
//Return instance return m_FormInstance;
}

error in instaNCXE
HowardRichards
m_FormInstance = new Stationstatus(DataTable StationDataTable);
should be
m_FormInstance = new Stationstatus(StationDataTable);