Changeset 42
- Timestamp:
- 02/26/05 04:43:55 (4 years ago)
- Files:
-
- trunk/MacFaceFloat/PatternWindow.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/MacFaceFloat/PatternWindow.cs
r41 r42 36 36 void InitializeComponent() 37 37 { 38 this.AutoScale BaseSize = new System.Drawing.Size(5, 12);39 this.ClientSize = new System.Drawing.Size(12 0, 101);38 this.AutoScale = false; 39 this.ClientSize = new System.Drawing.Size(128, 128); 40 40 this.ControlBox = false; 41 this.FormBorderStyle = FormBorderStyle.None; 41 42 this.MaximizeBox = false; 42 43 this.MinimizeBox = false; … … 51 52 { 52 53 get { return patternSize; } 53 set { patternSize = value; } 54 set { 55 patternSize = value; 56 Width = (int)Math.Ceiling(FaceDef.ImageWidth * patternSize); 57 Height = (int)Math.Ceiling(FaceDef.ImageHeight * patternSize); 58 } 54 59 } 55 60
