Esempio n. 1
0
 protected virtual void OnWindowSize(SetSizeEventArgs e)
 {
     if (this.WindowSize != null)               // nothing subscribed to this event
     {
         this.WindowSize(this, e);
     }
 }
Esempio n. 2
0
		protected virtual void OnWindowSize(SetSizeEventArgs  e)
		{
			if(this.WindowSize != null)
			{
				this.WindowSize(this, e);
			}
		}
Esempio 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);
        }