Advertisement
ASP_Volume3 Applet #52989

Clock Applet

the code displays the clock showing the time in seconds,min,hours and the background of the window according to the user choice

AI

AI சுருக்கம்: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

மூலக் குறியீடு
original-source
Upload
*****************************************
VB.NET
 
Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) 
 
  If MessageBox.Show("Do you want to close the application?","Close Application",MessageBoxButtons.YesNo) = DialogResult.No Then 
 
   e.Cancel = True 
 
  End If 
 
 
End Sub 

********************************************
C#.NET 
 
private void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e) 
 
{ 
 
  if (MessageBox.Show("Do you want to close the application?", "Close Application", MessageBoxButtons.YesNo) == DialogResult.No) 
 
   e.Cancel = true; 
 
 
} 
****************************************
Sorry about formatting
அசல் கருத்துகள் (3)
வேபேக் மெஷினிலிருந்து (Wayback Machine) மீட்டெடுக்கப்பட்டது