Fire() public method

public Fire ( ) : void
return void
Example #1
0
        private void PaintInternal()
        {
            LayoutRoot.Bitmap = Bitmap;
            Bitmap.Pen        = defaultPen;
            Bitmap.FillRectUnsafe(0, 0, LayoutRoot.Width, LayoutRoot.Height);
            LayoutRoot.Paint();

            Recorder?.WriteFrame(Bitmap);
            Bitmap.Paint();
            AfterPaint.Fire();
        }
Example #2
0
        private void PaintInternal()
        {
            Bitmap.Fill(defaultPen);
            LayoutRoot.Paint();

            Recorder?.WriteFrame(Bitmap);
            if (PaintEnabled)
            {
                Bitmap.Paint();
            }
            AfterPaint.Fire();
        }
 /// <summary>
 /// Fires the Added event for the given item
 /// </summary>
 /// <param name="item">The item that was added</param>
 internal void FireAdded(T item)
 {
     membershipLifetimes.Add(item, new Lifetime());
     Added.Fire(item);
     Changed.Fire();
 }