public static void Open(string excelFullpath) { ExcelEditorWindow window = GetWindowWithRect <ExcelEditorWindow>(new Rect(0, 0, 600, 400), false, "ExcelEditor"); window._excelPath = excelFullpath; window.LoadFile(); }
public static void Open(Excel excel) { ExcelEditorWindow window = GetWindowWithRect <ExcelEditorWindow>(new Rect(0, 0, 600, 400), false, "ExcelEditor"); window._excelPath = excel.FullPath; window._excel = excel; }