///<summary>Raises the ImageLoaded event.</summary>
 ///<param name="e">An ImageLoadedEventArgs object that provides the event data.</param>
 internal protected virtual void OnImageLoaded(ImageLoadedEventArgs e)
 {
     if (ImageLoaded != null)
     {
         ImageLoaded(this, e);
     }
 }
Example #2
0
 private void ImageLoachedEvent(object sender, ImageLoadedEventArgs e)
 {
     if (e.LoadedUrl == CurrentUser.ImageUrl)
     {
         OnPropertyChanged("CurrentUser");
     }
 }
Example #3
0
 private void ImageLoadedHandler(object obj, ImageLoadedEventArgs e)
 {
     PictureBox pic = new PictureBox();
     pic.Size = new Size(100, 100);
     pic.SizeMode = PictureBoxSizeMode.StretchImage;
     pic.Image = e.image.image;
     flowLayoutPanel1.Controls.Add(pic);
     numberOfPics.Text = (Int32.Parse(numberOfPics.Text) + 1).ToString();
 }
 /// <summary>
 /// 画像が読み込まれた
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void currentAPI_ImageLoaded(object sender, ImageLoadedEventArgs e)
 {
     searching = false;
     slideImage1.ForceImage = null;
     slideImage1.ImageDatas = currentAPI.ImageDatas;
     if (e.Index == 0)
     {
         // ボタン
         setButtonsBounds(true);
     }
     Invoke(new voidDelegate(showImageCountLabel));
 }
        /// <summary>
        /// Invoked when the image in the <see cref="SfImageEditor"/> is loaded.
        /// </summary>
        /// <param name="sender">Image editor</param>
        /// <param name="e">event arguments</param>
        private void SfImageEditor_Loaded(object sender, ImageLoadedEventArgs e)
        {
            editor.AddShape(ShapeType.Circle, new PenSettings()
            {
                Bounds = new Rect(10, 15, 20, 20),
                Stroke = new SolidColorBrush(Colors.BlueViolet)
            });

            editor.AddText("Good Morning", new TextSettings()
            {
                FontFamily  = new FontFamily("Consolas"),
                TextEffects = TextEffects.Italic,
                Bounds      = new Rect(45, 30, 25, 25),
            });
        }
Example #6
0
 private void Editor_ImageLoaded(object sender, ImageLoadedEventArgs args)
 {
     Editor.ToggleCropping(12, 7.0f);
     this.ButtonCropSave.Text = "Crop";
 }
Example #7
0
 private void ImageEditor_ImageLoaded(object sender, ImageLoadedEventArgs args)
 {
     imageEditor.ToggleCropping(true, 3);
 }
 void model_ImageLoading(POEModel sender, ImageLoadedEventArgs e)
 {
     update("Loading Image For " + e.URL, e);
 }
Example #9
0
            private async void ImageEditor_ImageLoaded(object sender, ImageLoadedEventArgs e)
            {
                await System.Threading.Tasks.Task.Delay(25);

                imageEditor.ToggleCropping(true, 3);
            }
Example #10
0
        private async void Editor_ImageLoaded(object sender, ImageLoadedEventArgs e)
        {
            await Task.Delay(25);

            editor.ToggleCropping(true, 3);
        }
 ///<summary>Raises the ImageLoaded event.</summary>
 ///<param name="e">An ImageLoadedEventArgs object that provides the event data.</param>
 protected internal virtual void OnImageLoaded(ImageLoadedEventArgs e)
 {
     if (ImageLoaded != null)
         ImageLoaded(this, e);
 }