mdi parent.this 하위 폼에로드되는 하위 폼이로드 될 때 슬라이드 효과를 가지며 화면 왼쪽에서 나오며 화면 가운데에 설정됩니다 (i 간단한 타이머로 이것을했다).스크롤 막대가 Mdi 하위에서 작동하지 않습니다. 슬라이드 양식
문제는 그 fill
폼의 dockstyle
설정 없다면 스크롤 바가 작동하지 않도록하고 난 fill
dockstyle
에 설정 한 경우, 상기 슬라이딩 효과 못해 일과 간단한 형태로드!
void timerPrevMonth_Tick(object sender,EventArgs e)
{
timerPrevMonth.Stop();
reservevaghtazar.Location = new Point(reservevaghtazar.Location.X +15,this.Location.Y);
if (this.Location.X-reservevaghtazar.Location.X <5)
{
reservevaghtazar.Location = new Point(this.Location.X,this.Location.Y);
this.TopMost = false;
reservevaghtazar.BringToFront();
reservevaghtazar.Focus();
}
else
timerPrevMonth.Start();
}
하는 form1에있는 버튼을 누르면이 형태 reserve_vaght_azar
효과를
문제가 중복 된 코드를 게시하십시오. – LarsTech
신비한 질문에 양식에 DockStyle 속성이 없습니다. 지구상에 무슨 소리를하는거야? –
내가 보여줄 몇 가지 코드를 넣어 보자. – Arash