Analogue clock application, developed with Visual C#  .Net
 
 
 
   
Return
  The Microsoft Visual C# .Net  member of the Microsoft Visual Studio .Net  

      
       
     Analogue_Clock_VCSNet application ..., describe how to use Microsoft Visual C#  .Net to draw Analogue Clock

             
 


 

The Classes used ...

          System Drawing, Timer,   PictureBox, Label,  Button

 

 Info ...
  1. Name - Analogue_Clock_VCSNet.
  2. Graphic Software.
  3. Developed with Microsoft Visual C# .Net.
     
  4. Functions ...
    1. Array of 60 point object  used to draw the analogue clock. The struct  ClockTab declare this array

             
        public struct ClockTab
                 {

                                
      public double[] cospi;
                                
      public double[] sinpi;
                 }

       

    2. Analogue and digital clocks display.

     

  5. Requirements: Microsoft Visual Studio .Net.
    If you want to run it:
    1. Remove the read-only attribute of all files in the folder - C:\Analogue_Clock_VCSNet
    2. Run the Microsoft Visual Studio .Net.
    3. From File menu, choose Open,  choose Project ...,  the Open Project dialog box appears,  select the project file  Analogue_Clock_VCSNet.csproj - (C:\Analogue_Clock_VCSNet\Analogue_Clock_VCSNet..csproj) and then click Open.
    4. From Debug menu, choose and click Start.


        Project - Analogue_Clock_VCSNet  and those items
 

 

  Create Project - Analogue_Clock_VCSNet

Run Microsoft Visual Studio .Net.
On the File menu , click New, and then click Project .... The New Project dialog box appears.
 

  1. In the Project Types pane, select the Visual C# Projects folder.
  2. In the Templates pane, select Windows Application icon (project type). A message appears indicating the type of project you are going to create - (A project for creating an application with a Windows user interface).
  3. In the Name box, type Analogue_Clock_VCSNet.
  4. In the Location box, type C:\
  5. Click OK.

The Windows Application create all necessary files and opens the Microsoft Visual Basic .Net project - Analogue_Clock_VCSNet
 

  Rename the Form created ...
  • On the View menu , click  Solution Explorer
  • In Solution Explorer, expand the Analogue_Clock_VCSNet project node  and select Form1.cs
  • In Properties windows, Type the new File Name
     
      Old New
    Filename : Form1.cs AnalogueForm.cs

     

 

 1- AnalogueForm.cs

 

 2-  About.cs.