Example #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);
     }
 }
Example #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;
     }
 }
Example #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);
     }
 }
Example #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);
     }
 }