private void InitilizeSpreadsheet() { if (xls != null) { xls.Visible = false; xls = null; } xls = new ForecastSpreadsheetEditor(); xls.Parent = tabPageEdit; xls.Dock = DockStyle.Fill; xls.BringToFront(); }
internal void Reload(ForecastSpreadsheetEditor xls) { this.xls = xls; this.forecastList1.SetSheetNames(xls.SheetNames); }