private void ComputeBitDepthClick(object sender, EventArgs e)
 {
     // Bit Depth Approach 1 calculation
     try
     {
         ComputeBitDepthClass calc = new ComputeBitDepthClass();
         Data = calc.ComputeBitDepth(Data);
         AddButtons("calculated");
     }
     catch
     {
     }
 }
 private void ComputeBitDepthClick(object sender, EventArgs e)
 {
     // Bit Depth Approach 1 calculation
     try
     {
         ComputeBitDepthClass calc = new ComputeBitDepthClass();
         Data = calc.ComputeBitDepth(Data);
         AddButtons("calculated");
     }
     catch
     {
     }
 }