private void btnOK_Click(object sender, EventArgs e)
 {
     if (VariableFacade.AddContentsTime(MainTable))
     {
         DialogResult = System.Windows.Forms.DialogResult.OK;
     }
 }