[ Robredo12 @ 07.04.2008. 12:26 ] @
Trebam ispis komentara svake linije koda?

1. FORM.cs izgleda ovako

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Tocno_vrijeme
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
string timeDate;
timeDate = DateTime.Now.ToLongTimeString() + " " +
DateTime.Now.ToLongDateString();
textBox1.Text = timeDate;
}

private void textBox1_TextChanged(object sender, EventArgs e)
{

}
}
}



2. A ovako izgleda Program.cs

using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace Tocno_vrijeme
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}
[ Predrag Glumac @ 07.04.2008. 13:01 ] @
I u cemu je problem ?
BTW komentare stavljas sa // ili blok komenara sa /* ....*/
[ Robredo12 @ 07.04.2008. 21:34 ] @
Trebao bih objašnjenje (komentar) svake linije koda navedenog programa? Što u svakoj liniji se izvršava? Kapiraš?
Hvala u svakom slučaju.
[ Shadowed @ 07.04.2008. 23:18 ] @
Predraze, ma pusti, hoce da mu neko to uradi. Hajd' neka mu tema, mozda neko bude imao volje.