System.Windows.Forms.PictureBox.LoadAsync C# (CSharp) Method

LoadAsync() public method

public LoadAsync ( ) : void
return void
		public void LoadAsync ()
		{
			LoadAsync (image_location);
		}
		

Same methods

PictureBox::LoadAsync ( string url ) : void

Usage Example

Example #1
0
 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 { }
         }
     }
 }
All Usage Examples Of System.Windows.Forms.PictureBox::LoadAsync