Exemplo n.º 1
0
 protected virtual void OnWindowSize(SetSizeEventArgs e)
 {
     if (this.WindowSize != null)               // nothing subscribed to this event
     {
         this.WindowSize(this, e);
     }
 }
Exemplo n.º 2
0
		protected virtual void OnWindowSize(SetSizeEventArgs  e)
		{
			if(this.WindowSize != null)
			{
				this.WindowSize(this, e);
			}
		}
Exemplo n.º 3
0
        private void HandleSize(object sender, SetSizeEventArgs e)
        // called by: SetWindowSize
        {
            int w  = e.nWidth;
            int h  = e.nHeight;
            int ex = e.exifType;

            this.Width   = w;
            this.Height  = h;
            bnExif.Image = imageList1.Images[ex];
            //Debug.WriteLine("set size W / H: {0}/{1}", w, h);
        }