Exemple #1
0
 private void frmPerson_Load(object sender, EventArgs e)
 {
     try
     {
         DataOperation.SetFont(lblActorName, enFontNames.Copperplate_Gothic_Bold.ToString().Replace("_", " "), 24, FontStyle.Bold);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, Messages.MessageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
Exemple #2
0
 private void frmSplash_Load(object sender, EventArgs e)
 {
     try
     {
         DataOperation.SetFont(lblTitle, enFontNames.Adorable.ToString().Replace("_", " "), 72, FontStyle.Regular);
         lblVersion.Text = Application.ProductVersion;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #3
0
 private void frmAbout_Load(object sender, EventArgs e)
 {
     try
     {
         DataOperation.SetFont(lblName, enFontNames.Adorable.ToString().Replace("_", " "), 26, FontStyle.Regular);
         lblName.Text = Application.ProductName + " " + Application.ProductVersion;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, Messages.MessageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
Exemple #4
0
 private void ucPersonList_Load(object sender, EventArgs e)
 {
     try
     {
         DataOperation.SetFont(lblName, enFontNames.Copperplate_Gothic_Bold.ToString().Replace("_", " "), 12, FontStyle.Regular);
         Initialize();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, Messages.MessageBoxTitle, MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }