示例#1
0
 void initSplit(Measure m1, int size1, Measure m2, int size2)
 {
     if (m1 != Measure.Stretched) {
         init1 = size1;
         u1 = m1.Units;
     }
     if (m2 != Measure.Stretched) {
         init2 = size2;
         u2 = m2.Units;
     }
 }
示例#2
0
文件: Window.cs 项目: jpbruyere/Crow
        protected void onMaximized(object sender, EventArgs e)
        {
            savedW = this.Width;
            savedH = this.Height;
            this.Width = Measure.Stretched;
            this.Height = Measure.Stretched;

            Maximized.Raise (sender, e);
        }