Пример #1
0
 void rFrmMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         if (!m_LisansKeyValidate)
         {
             if (Commons.ValidateApplication())
             {
                 LookAndFeelSettings.Save("LookAndFeelSettings.dat");
                 Commons.BackupDatabase();
             }
         }
         e.Cancel = false;
         Application.Exit();
     }
     catch (Exception ex)
     {
         Commons.Status(Commons.GetErrorCode("FMN", 3) + ex.Message);
         e.Cancel = false;
         Application.Exit();
     }
 }
Пример #2
0
 void backupButton_Click(object sender, EventArgs e)
 {
     Commons.BackupDatabase();
 }
Пример #3
0
 void veritabaniYedekleButton_ItemClick(object sender, ItemClickEventArgs e)
 {
     Commons.BackupDatabase();
     MessageBox.Show(statusLabel.Caption, "Info");
 }