A form that plays the gif.
Inheritance: System.Windows.Forms.Form
Exemple #1
0
 private void linkOpenFile_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     try
     {
         var gifPreviewer = new GifPreviewer(_fileName);
         gifPreviewer.ShowDialog();
     }
     catch (Exception exception)
     {
         //TODO: Tooltip.
         LogWriter.Log(exception, "Missing File");
         MessageBox.Show(this, Resources.MsgBox_ErrorOpenning + exception.Message, "Missing File", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Exemple #2
0
 private void linkOpenFile_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     try
     {
         var gifPreviewer = new GifPreviewer(_fileName);
         gifPreviewer.ShowDialog();
     }
     catch (Exception exception)
     {
         //TODO: Tooltip.
         LogWriter.Log(exception, "Missing File");
         MessageBox.Show(this, Resources.MsgBox_ErrorOpenning + exception.Message, "Missing File", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }