public void show_image()
{
if (Visible)
{
try
{
if (image_path_replace.Length > 0)
{
pictureBox_frame.LoadAsync(
label_image_pathname.Text.Replace(
image_path_replace,
image_path_replace_with
)
);
}
else
{
pictureBox_frame.LoadAsync(label_image_pathname.Text);
}
if (!pictureBox_frame.Visible)
{
pictureBox_frame.Visible = true;
}
}
catch
{
try
{
pictureBox_frame.Visible = false;
}
catch { }
}
}
}