我想精确初始化窗口开始位置,请问怎么实现? ShowChineseExplain myChiExplain = new ShowChineseExplain(e.Item.Key); myChiExplain.Left = this.Location.X + this.Width;
myChiExplain.Top = this.Location.Y; myChiExplain.Show();上面的语句无效,可是我这样做可以,不过画面会闪一下,请问有什么办法解决没?
ShowChineseExplain myChiExplain = new ShowChineseExplain(e.Item.Key); myChiExplain.Show(); myChiExplain.Left = this.Location.X + this.Width;
myChiExplain.Top = this.Location.Y;
myChiExplain.Top = this.Location.Y; myChiExplain.Show();上面的语句无效,可是我这样做可以,不过画面会闪一下,请问有什么办法解决没?
ShowChineseExplain myChiExplain = new ShowChineseExplain(e.Item.Key); myChiExplain.Show(); myChiExplain.Left = this.Location.X + this.Width;
myChiExplain.Top = this.Location.Y;
你试试修改Location吧
替换成Application.Run(myChiExplain)