// Save this as "something.cs", then type "csc something.cs" @ command prompt with the proper directory using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace Calendar { public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.MonthCalendar monthCalendar1; private System.ComponentModel.Container components = null; public Form1() { InitializeComponent(); } protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code private void InitializeComponent() { this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.SuspendLayout(); // // monthCalendar1 // this.monthCalendar1.BackColor = System.Drawing.Color.White; this.monthCalendar1.CalendarDimensions = new System.Drawing.Size(3, 4); this.monthCalendar1.FirstDayOfWeek = System.Windows.Forms.Day.Monday; this.monthCalendar1.ForeColor = System.Drawing.Color.DarkGoldenrod; this.monthCalendar1.Location = new System.Drawing.Point(0, 0); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.TabIndex = 0; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.Control; this.ClientSize = new System.Drawing.Size(538, 584); this.ControlBox = false; this.Controls.Add(this.monthCalendar1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Location = new System.Drawing.Point(0, 200); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Form1"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "Calender"; this.TopMost = true; this.TransparencyKey = System.Drawing.Color.White; this.ResumeLayout(false); } #endregion [STAThread] static void Main() { Application.Run(new Form1()); } } }
then, something.exe will be created at the directory, maybe Desktop if you firstly save the something.cs at the Desktop. Finally, just run the exe.
This is an OpenSource Project of the ultimate calendar tool for 'EliteTraders'. exclusively for Windows Users with .netframework, not for Linux users. By the way, so far, I haven't written a single code. The entire code shown above were created automatically by VisualStudio.net IDE.
that's exactly why I asked what's the point? Even the very beginning programmer is easily able to do that
good idea. http://msdn.microsoft.com/netframework/technologyinfo/howtoget/default.aspx However, I believe C# compiler is inculded without SDK. .netframework can be downloaded from WindowsUpdate, and thought this is enough to compile and run this code. I may be totally wrong.
http://www.borland.com/csharpbuilder/personal/index.html This is a Free Borland C# Developing software. http://www.amazon.com/exec/obidos/t...-1122737-3073531?v=glance&s=software&n=229534 This is not Free, but not expensive at all and ideal.