I have got an excel application running which on parsing the excel sheet displays a wpf window (from other project however in same workspace).
[STAThread]
public void Run()
{
TableStructure = null;
parser = new ExcelParser.WorksheetParser(TableStructure);
GeneralTree<string> rawRBS = parser.GetRawTree();
MainWindow main = new MainWindow(rawRBS, parser.WorkSheet);
main.ShowDialog();
}
The problem here is when i close the mainwindow.. closing mainwindow shuts the whole application down along with excel workbook too. I want excel workbook opened even when main window is closed.
Can someone help me here?