liye

liye

博客园 首页 新随笔 联系 订阅 管理
            //SetBounds((splitterControl2.Location.X + this.Location.X) / 2, splitterControl3.Location.Y,splitterControl3.Width,splitterControl3.Height);
            //splitterControl3.SetBounds(((arlcStaff.Location.X + arlcContacts.Size.Width) / 2), 0, splitterControl3.Width, splitterControl3.Height);
            //splitterControl3.Location = new System.Drawing.Point((splitterControl3.Location.X + arlcContacts.Size.Width) / 2,0);
            //splitterControl3.Location = new System.Drawing.Point(500, 0);
            //splitterControl3.Refresh();
            //this.arlcContacts.MinimumSize  = (this.arlcContacts.Width + this.arlcStaff.Width) / 2;
            //this.arlcStaff.MinimumSize = (this.arlcContacts.Width + this.arlcStaff.Width) / 2;
            //this.panel3.MinimumSize =
            //splitterControl3.SetBounds(250,0,splitterControl3.Width,splitterControl3.Height);  
            //splitterControl3.Location = new System.Drawing.Point(250, 250);

            //splitterControl3.Left += 100;

 

 

private void panel1_SizeChanged(object sender, EventArgs e)
        {
            panel3.MinimumSize = new System.Drawing.Size(((panel3.Width + panel4.Width) / 2), panel3.Height);
            panel3.MaximumSize = new System.Drawing.Size(((panel3.Width + panel4.Width) / 2), panel3.Height);
        } 

posted on 2010-05-15 11:32    阅读(1120)  评论(0编辑  收藏  举报