public static void PrintPointsInSpreadSheet(bool WaitForKeypress = false) { Program.SpreadSheet_ObjectList[Program.SheetNumber].PrintAllRows_Columns_WithinSpreadSheet(); if (true == WaitForKeypress) { ToolsInput.WaitForUser(); } ToolsScreen.MakeEmptyLines(1); }
public static void AddPointsInColumn() { int CurrentColumnNumber; CurrentColumnNumber = GetSpreadSheetColumnNumber("Indtast søjle nummer der skal udskrives (0 - " + (Program.SpreadSheet_ObjectList[Program.SheetNumber].GetMaxNumberOfColumnsInRows() - 1) + ") : "); if (CurrentColumnNumber >= 0) { Program.SpreadSheet_ObjectList[Program.SheetNumber].AddAllRowsWithinSpreadSheetColumn(CurrentColumnNumber); ToolsInput.WaitForUser(); } }
public static void AddPointsInRow() { int CurrentRowNumber; CurrentRowNumber = GetSpreadSheetRowNumber("Indtast række nummer der skal have punkter adderet (0 - " + (Program.SpreadSheet_ObjectList[Program.SheetNumber].GetNumberOfRowsInSpreadSheet() - 1) + ") : "); if (CurrentRowNumber >= 0) { Program.SpreadSheet_ObjectList[Program.SheetNumber].AddAllColumnsWithinSpreadSheetRow(CurrentRowNumber); ToolsInput.WaitForUser(); } }
public static void PrintPointsInSpreadSheetRow() { int CurrentRowNumber; CurrentRowNumber = GetSpreadSheetRowNumber("Indtast række nummer der skal udskrives (0 - " + (Program.SpreadSheet_ObjectList[Program.SheetNumber].GetNumberOfRowsInSpreadSheet() - 1) + ") : "); if (CurrentRowNumber >= 0) { Program.SpreadSheet_ObjectList[Program.SheetNumber].PrintAllColumnsWithinSpreadSheetRow(CurrentRowNumber); ToolsInput.WaitForUser(); } }
public static void AddPointToRowInSpreadSheet() { int CurrentRowNumber; CurrentRowNumber = GetSpreadSheetRowNumber("Indtast række nummer der skal have punkt adderet (0 - " + (Program.SpreadSheet_ObjectList[Program.SheetNumber].GetNumberOfRowsInSpreadSheet() - 1) + ") : "); if (CurrentRowNumber >= 0) { ToolsScreen.MakeEmptyLines(1); double XCoordinate = 0; double YCoordinate = 0; ToolsInput.GetUserInput(out XCoordinate, "Indtast punktets x-koordinat : "); ToolsInput.GetUserInput(out YCoordinate, "Indtast punktets y-koordinat : "); Point Point_Object = new Point(XCoordinate, YCoordinate); Program.SpreadSheet_ObjectList[Program.SheetNumber].AddPointValueToSpreadSheetRow(CurrentRowNumber, Point_Object); ToolsInput.WaitForUser(); } }
static void Main(string[] args) { MainMenu(); ToolsInput.WaitForUser(); }
public static void AddPointsInSheet() { Program.SpreadSheet_ObjectList[Program.SheetNumber].AddAllPointsWithinSheet(); ToolsInput.WaitForUser(); }