Here are the examples of the csharp api class System.Windows.Forms.DataGridViewCellCollection.Add(System.Windows.Forms.DataGridViewCell) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
63 Examples
0
1. Example
View licenseprivate DataGridViewRow GetRow(Position position) { if (position == null) /n ..... /n //View Source file for more details /n }
0
2. Example
View licenseprivate DataGridViewRow CreateOrderRow(Order order) { if (order == null) /n ..... /n //View Source file for more details /n }
0
3. Example
View licenseprivate DataGridViewRow CreateTradeRow(MyTrade trade) { if (trade == null) { return null; } DataGridViewCellStyle styleDefolt = new DataGridViewCellStyle(); styleDefolt.BackColor = Color.WhiteSmoke; styleDefolt.SelectionBackColor = Color.WhiteSmoke; styleDefolt.SelectionForeColor = Color.Black; DataGridViewRow nRow = new DataGridViewRow(); nRow.DefaultCellStyle = styleDefolt; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[0].Value = trade.NumberTrade; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[1].Value = trade.NumberOrderParent; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[2].Value = trade.SecurityNameCode; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[3].Value = trade.Time; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[4].Value = trade.Price; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[5].Value = trade.Volume; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[6].Value = trade.Side; return nRow; }
0
4. Example
View licensepublic void AddGeometricProperty(GeometricPropertyDefinition geomDef) { if (geomDef.ReadOnly) return; DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = geomDef.Name; nameCell.Tag = geomDef; DataGridViewCell valueCell = new DataGridViewTextBoxCell(); valueCell.ToolTipText = "Enter the FGF or WKB geometry text"; DataGridViewCheckBoxCell ecell = new DataGridViewCheckBoxCell(false); ecell.Value = true; DataGridViewCheckBoxCell ncell = new DataGridViewCheckBoxCell(false); ncell.Value = false; row.Cells.Add(ecell); row.Cells.Add(ncell); row.Cells.Add(nameCell); row.Cells.Add(valueCell); nameCell.ReadOnly = true; grdProperties.Rows.Add(row); }
0
5. Example
View licensepublic void AddEnumerableProperty(string name, string defaultValue, string[] values) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = name; DataGridViewComboBoxCell valueCell = new DataGridViewComboBoxCell(); valueCell.DataSource = values; valueCell.Value = defaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdProperties.Rows.Add(row); }
0
6. Example
View licensepublic void AddEnumerableConnectProperty(string name, string defaultValue, string[] values) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = name; DataGridViewComboBoxCell valueCell = new DataGridViewComboBoxCell(); valueCell.DataSource = values; valueCell.Value = defaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdConnectionProperties.Rows.Add(row); }
0
7. Example
View licensepublic void AddDataStoreProperty(DictionaryProperty p) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = p.LocalizedName; DataGridViewTextBoxCell valueCell = new DataGridViewTextBoxCell(); if (p.IsFile || p.IsPath) { valueCell.ContextMenuStrip = ctxHelper; valueCell.ToolTipText = "Right click for helpful options"; } valueCell.Value = p.DefaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdDataStoreProperties.Rows.Add(row); }
0
8. Example
View licensepublic void AddEnumerableDataStoreProperty(string name, string defaultValue, string[] values) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = name; DataGridViewComboBoxCell valueCell = new DataGridViewComboBoxCell(); valueCell.DataSource = values; valueCell.Value = defaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdDataStoreProperties.Rows.Add(row); }
0
9. Example
View licenseprivate DataGridViewRow AddOptionalEnumerableProperty(string name, string defaultValue, IEnumerable<string> values) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = name; DataGridViewComboBoxCell valueCell = new DataGridViewComboBoxCell(); valueCell.DataSource = values; valueCell.Value = defaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdProperties.Rows.Add(row); return row; }
0
10. Example
View licenseprivate DataGridViewRow AddProperty(string name, string defaultValue) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = name; DataGridViewTextBoxCell valueCell = new DataGridViewTextBoxCell(); valueCell.Value = defaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdProperties.Rows.Add(row); return row; }
0
11. Example
View licenseprivate DataGridViewRow AddOptionalEnumerableProperty(string name, string defaultValue, IEnumerable<string> values) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = name; DataGridViewComboBoxCell valueCell = new DataGridViewComboBoxCell(); valueCell.DataSource = values; valueCell.Value = defaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdPendingProperties.Rows.Add(row); return row; }
0
12. Example
View licenseprivate DataGridViewRow AddProperty(string name, string defaultValue) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = name; DataGridViewTextBoxCell valueCell = new DataGridViewTextBoxCell(); valueCell.Value = defaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdPendingProperties.Rows.Add(row); return row; }
0
13. Example
View licensepublic override void PrintMessage(Status messageStatus, string message) { // See/n ..... /n //View Source file for more details /n }
0
14. Example
View licensepublic void SetBuildErrors(IEnumerable<BuildError> errors) { dgvErrors.Rows.Clear(); foreach (var error in errors) { var row = new DataGridViewRow(); row.Tag = error; var image = _iconProvider.ImageList.Images[_iconProvider.GetImageIndex(error.Severity)]; row.Cells.Add(new DataGridViewImageCell() { Value = image, ToolTipText = error.Severity.ToString() }); row.Cells.Add(new DataGridViewTextBoxCell() { Value = error.Message }); row.Cells.Add(new DataGridViewTextBoxCell() { Value = error.Location.FilePath.FileName }); row.Cells.Add(new DataGridViewTextBoxCell() { Value = error.Location.Line }); row.Cells.Add(new DataGridViewTextBoxCell() { Value = error.Location.Column }); dgvErrors.Rows.Add(row); } }
0
15. Example
View licenseprivate void PaintPortfolio(Portfolio portfolio) { try { /n ..... /n //View Source file for more details /n }
0
16. Example
View licensepublic void AddDataProperty(DataPropertyDefinition dataDef) { if (dataDef.IsAuto/n ..... /n //View Source file for more details /n }
0
17. Example
View licensepublic void AddProperty(FdoToolbox.Core.Connections.DictionaryProperty p) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = p.LocalizedName; DataGridViewTextBoxCell valueCell = new DataGridViewTextBoxCell(); if (p.IsFile || p.IsPath) { valueCell.ContextMenuStrip = ctxHelper; valueCell.ToolTipText = "Right click for helpful options"; } valueCell.Value = p.DefaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdProperties.Rows.Add(row); if (p.Protected) pwdCells.Add(valueCell); }
0
18. Example
View licensepublic void AddConnectProperty(DictionaryProperty p) { DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = p.LocalizedName; DataGridViewTextBoxCell valueCell = new DataGridViewTextBoxCell(); if (p.IsFile || p.IsPath) { valueCell.ContextMenuStrip = ctxHelper; valueCell.ToolTipText = "Right click for helpful options"; } valueCell.Value = p.DefaultValue; row.Cells.Add(nameCell); row.Cells.Add(valueCell); grdConnectionProperties.Rows.Add(row); if (p.Protected) pwdCells.Add(valueCell); }
0
19. Example
View licensepublic void AddGeometricProperty(GeometricPropertyDefinition geomDef, String szClassHierarchy) { if (geomDef.ReadOnly) return; DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); if (!String.IsNullOrEmpty(szClassHierarchy)) nameCell.Value = szClassHierarchy + ":"; nameCell.Value += geomDef.Name; nameCell.Tag = geomDef; DataGridViewCell valueCell = new DataGridViewTextBoxCell(); valueCell.ToolTipText = "Enter the FGF or WKB geometry text"; row.Cells.Add(nameCell); row.Cells.Add(valueCell); nameCell.ReadOnly = true; grdProperties.Rows.Add(row); }
0
20. Example
View licensepublic void AddGeometricProperty(GeometricPropertyDefinition geomDef, string value, String szClassHierarchy) { if (geomDef.ReadOnly) return; DataGridViewRow row = new DataGridViewRow(); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); if (!String.IsNullOrEmpty(szClassHierarchy)) nameCell.Value = szClassHierarchy + "."; nameCell.Value += geomDef.Name; nameCell.Tag = geomDef; DataGridViewCell valueCell = new DataGridViewTextBoxCell(); valueCell.ToolTipText = "Enter the FGF or WKB geometry text"; valueCell.Value = value; row.Cells.Add(nameCell); row.Cells.Add(valueCell); nameCell.ReadOnly = true; grdProperties.Rows.Add(row); }
0
21. Example
View licensepublic DataGridViewRow GetWarningRow() { DataGridViewRow row = new DataGridViewRow(); DataGridViewImageCell warningImageCell = new DataGridViewImageCell(); warningImageCell.Value = Images.StaticImages._000_Alert2_h32bit_16; DataGridViewTextBoxCell warningCell = new DataGridViewTextBoxCell(); warningCell.Value = string.Format("{0}\n\r\n\r{1}", ActionTitle, WarningMessage); row.Cells.Add(warningImageCell); row.Cells.Add(warningCell); return row; }
0
22. Example
View licensepublic List<DataGridViewRow> GetAppliesToRows() { List<DataGridViewRow> rows = new List<DataGridViewRow>(); foreach (IXenObject o in AppliesTo) { DataGridViewRow r = new DataGridViewRow(); DataGridViewImageCell typeImageCell = new DataGridViewImageCell(); typeImageCell.Value = Images.GetImage16For(o); DataGridViewTextBoxCell nameCell = new DataGridViewTextBoxCell(); nameCell.Value = Helpers.GetName(o); r.Cells.Add(typeImageCell); r.Cells.Add(nameCell); rows.Add(r); } return rows; }
0
23. Example
View licenseprivate void PaintPeriods() { if (_grid.InvokeRequired) { _grid.Invoke(new Action(PaintPeriods)); return; } for (int index = 0; index < _deltaPeriods.Periods.Count; index++) { DataGridViewRow nRow = new DataGridViewRow(); nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[0].Value = _deltaPeriods.Periods[index].HourStart; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[1].Value = _deltaPeriods.Periods[index].HourEnd; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[2].Value = _deltaPeriods.Periods[index].DeltaStep; _grid.Rows.Add(nRow); } }
0
24. Example
View licenseprivate DataGridViewRow GetRow(Position position) { if (position == null) /n ..... /n //View Source file for more details /n }
0
25. Example
View licenseprivate DataGridViewRow GetRow(Position position) { if (position == null) /n ..... /n //View Source file for more details /n }
0
26. Example
View licenseprivate static void SetNewErrorMessage(LogMessage message) { if (!MainWindow.GetDispatcher.CheckAccess()) { MainWindow.GetDispatcher.Invoke(new Action<LogMessage>(SetNewErrorMessage), message); return; } DataGridViewRow row = new DataGridViewRow(); row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[0].Value = DateTime.Now; row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[1].Value = LogMessageType.Error; row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[2].Value = message.Message; _gridErrorLog.Rows.Insert(0, row); if (_logErrorUi == null) { _logErrorUi = new LogErrorUi(_gridErrorLog); _logErrorUi.Closing += _logErrorUi_Closing; _logErrorUi.Show(); } SystemSounds.Beep.Play(); }
0
27. Example
View licenseprivate void LoadSecOnTable() { if (!Host.CheckAccess()) { Host.Dispatcher.Invoke(new Action(LoadSecOnTable)); return; } _grid.Rows.Clear(); if (SecToSubscrible == null || SecToSubscrible.Count == 0) { return; } for (int i = 0; SecToSubscrible != null && SecToSubscrible.Count != 0 && i < SecToSubscrible.Count; i++) { DataGridViewRow nRow = new DataGridViewRow(); nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[0].Value = SecToSubscrible[i].Symbol; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[1].Value = SecToSubscrible[i].Exchange; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[2].Value = SecToSubscrible[i].SecType; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[3].Value = SecToSubscrible[i].LocalSymbol; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[4].Value = SecToSubscrible[i].PrimaryExch; _grid.Rows.Add(nRow); } }
0
28. Example
View licenseprivate void ReloadSecuritiesOnTable() { _grid.Rows.Clear(); List<string> names = _set.SecuritiesNames; for (int i = 0;names != null && i < names.Count; i++) { DataGridViewRow row = new DataGridViewRow(); row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[0].Value = names[i]; _grid.Rows.Insert(0, row); } }
0
29. Example
View licenseprivate DataGridViewRow GetRow(Position position) { if (position == null) /n ..... /n //View Source file for more details /n }
0
30. Example
View licensepublic void AddDataProperty(DataPropertyDefinition dataDef, String szClassHierarchy) { if/n ..... /n //View Source file for more details /n }
0
31. Example
View licensepublic void AddDataProperty(DataPropertyDefinition dataDef, object value, String szClassHierarchy) /n ..... /n //View Source file for more details /n }
0
32. Example
View licenseprivate void DisplayMessage(Message message) { DataGridViewRow newRow = new DataGridViewRow {Tag = message}; newRow.Cells.Add(new DataGridViewImageCell {Value = imageList.Images[message.Severity.ToString()]}); newRow.Cells.Add(new DataGridViewTextBoxCell {Value = message.MessageText}); newRow.Cells.Add(new DataGridViewTextBoxCell { Value = message.File }); newRow.Cells.Add(new DataGridViewTextBoxCell { Value = message.Line }); newRow.Cells.Add(new DataGridViewTextBoxCell { Value = message.Column }); UpdateRowVisibility(newRow); dataGridView.Rows.Add(newRow); UpdateButtonText(); }
0
33. Example
View licenseprivate void m_gridPlugins_SelectionChanged(object sender, EventArgs e) { try /n ..... /n //View Source file for more details /n }
0
34. Example
View licenseprivate void PaintSecurities(List<Security> securities) { if(securities ==/n ..... /n //View Source file for more details /n }
0
35. Example
View licenseprivate void PaintMessage(LogMessage messageLog) { try { if (_grid.InvokeRequired) { _grid.Invoke(new Action<LogMessage>(PaintMessage), messageLog); return; } if (_messageses == null) { _messageses = new List<LogMessage>(); } _messageses.Add(messageLog); _messageSender.AddNewMessage(messageLog); DataGridViewRow row = new DataGridViewRow(); row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[0].Value = messageLog.Time; row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[1].Value = messageLog.Type; row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[2].Value = messageLog.Message; _grid.Rows.Insert(0, row); } catch (Exception) { // ignore } }
0
36. Example
View licenseprivate void PaintGrid() { if (_myGridView.InvokeRequired) { /n ..... /n //View Source file for more details /n }
0
37. Example
View licenseprivate void PaintGrid() { if (_myGridView.InvokeRequired) { /n ..... /n //View Source file for more details /n }
0
38. Example
View licenseprivate void PaintTableTabsIndex() { if (_gridTableTabsSimple.InvokeRequired) /n ..... /n //View Source file for more details /n }
0
39. Example
View licenseprivate void PaintTableOptimizeFazes() { if (_gridFazes.InvokeRequired) { _gridFazes.Invoke(new Action(PaintTableOptimizeFazes)); return; } _gridFazes.Rows.Clear(); List<OptimizerFaze> fazes = _master.Fazes; if (fazes == null || fazes.Count == 0) { return; } for (int i = 0; i < fazes.Count; i++) { DataGridViewRow row = new DataGridViewRow(); row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[0].Value = i+1; DataGridViewTextBoxCell cell = new DataGridViewTextBoxCell(); cell.Value = fazes[i].TypeFaze; row.Cells.Add(cell); DataGridViewTextBoxCell cell2 = new DataGridViewTextBoxCell(); cell2.Value = fazes[i].TimeStart.ToShortDateString(); row.Cells.Add(cell2); DataGridViewTextBoxCell cell3 = new DataGridViewTextBoxCell(); cell3.Value = fazes[i].TimeEnd.ToShortDateString(); row.Cells.Add(cell3); DataGridViewTextBoxCell cell4 = new DataGridViewTextBoxCell(); cell4.Value = fazes[i].Days; row.Cells.Add(cell4); _gridFazes.Rows.Add(row); } }
0
40. Example
View licenseprivate void PaintTableFazes() { if (_gridFazesEnd.InvokeRequired) { _gridFazesEnd.Invoke(new Action(PaintTableFazes)); return; } _gridFazesEnd.Rows.Clear(); List<OptimizerFaze> fazes = _master.Fazes; if (fazes == null || fazes.Count == 0) { return; } for (int i = 0; i < fazes.Count; i++) { DataGridViewRow row = new DataGridViewRow(); row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[0].Value = i + 1; DataGridViewTextBoxCell cell = new DataGridViewTextBoxCell(); cell.Value = fazes[i].TypeFaze; row.Cells.Add(cell); DataGridViewTextBoxCell cell2 = new DataGridViewTextBoxCell(); cell2.Value = fazes[i].TimeStart.ToShortDateString(); row.Cells.Add(cell2); DataGridViewTextBoxCell cell3 = new DataGridViewTextBoxCell(); cell3.Value = fazes[i].TimeEnd.ToShortDateString(); row.Cells.Add(cell3); DataGridViewTextBoxCell cell4 = new DataGridViewTextBoxCell(); cell4.Value = fazes[i].Days; row.Cells.Add(cell4); _gridFazesEnd.Rows.Add(row); } }
0
41. Example
View licenseprivate void PaintTableResults() { if (_gridResults.InvokeRequired) /n ..... /n //View Source file for more details /n }
0
42. Example
View licenseprivate void ReloadSecurityTable() { if (_spread.Tabs == null) { return; } _grid1.Rows.Clear(); for (int i = 0; i < _spread.Tabs.Count; i++) { DataGridViewRow row = new DataGridViewRow(); row.Cells.Add((new DataGridViewTextBoxCell())); row.Cells[0].Value = "A"+i; row.Cells.Add(new DataGridViewTextBoxCell()); if (string.IsNullOrWhiteSpace(_spread.Tabs[i].NamePaper)) { row.Cells[1].Value = "?????"; } else { row.Cells[1].Value = _spread.Tabs[i].NamePaper; } _grid1.Rows.Add(row); } }
0
43. Example
View licenseprivate void PaintGridBox() { try { if (_isPaint == false) { return; } GridViewBox.Rows.Clear(); for (int i = 0; _alertArray != null && _alertArray.Count != 0 && i < _alertArray.Count; i++) { DataGridViewRow nRow = new DataGridViewRow(); nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[0].Value = i; nRow.Cells.Add(new DataGridViewTextBoxCell()); nRow.Cells[1].Value = _alertArray[i].TypeAlert; nRow.Cells.Add(new DataGridViewTextBoxCell()); if (_alertArray[i].IsOn) { nRow.Cells[2].Value = "On"; } else { nRow.Cells[2].Value = "Off"; } GridViewBox.Rows.Add(nRow); } } catch (Exception error) { SendNewMessage(error.ToString(), LogMessageType.Error); } }
0
44. Example
View licenseprivate void PaintOrders() { try { if (_positionHost/n ..... /n //View Source file for more details /n }
0
45. Example
View licenseprivate void ReloadSecurityTable() { if (ComboBoxClass.SelectedItem == null) { return; } _grid.Rows.Clear(); List<DataGridViewRow> rows = new List<DataGridViewRow>(); for (int i = 0; _securities != null && i < _securities.Count; i++) { if (ComboBoxClass.SelectedItem.ToString() != "All" && _securities[i].NameClass != ComboBoxClass.SelectedItem.ToString()) { continue; } if (_securities[i].NameFull== null || _securities[i].NameFull[0] == '\'' && _securities[i].NameFull[1] == '\'' && _securities[i].NameFull.Length == 2) { continue; } DataGridViewRow row = new DataGridViewRow(); row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[0].Value = _securities[i].Name; row.Cells.Add(new DataGridViewTextBoxCell()); row.Cells[1].Value = _securities[i].NameFull; rows.Add(row); } _grid.Rows.AddRange(rows.ToArray()); }
0
46. Example
View licenseprivate void PaintTableParametrs() { if (_gridParametrs.InvokeRequired) /n ..... /n //View Source file for more details /n }
0
47. Example
View licensepublic void setData(oFunction functionBase, oSingleData measuredData) { this.fu/n ..... /n //View Source file for more details /n }
0
48. Example
View licenseprivate void PaintTable() { _grid.Rows.Clear(); for (int i = 0; i &/n ..... /n //View Source file for more details /n }
0
49. Example
View licenseprivate void RePaintSourceGrid() { if (_gridSources.InvokeRequired) /n ..... /n //View Source file for more details /n }
0
50. Example
View licenseprivate void PaintTable() { if (_securitiesNamesGrid.InvokeRequired) /n ..... /n //View Source file for more details /n }