C# 常用操作

 

弹窗居中显示,

 using (DlgProgressBar progressBar = new DlgProgressBar(0, 10))
 {
 progressBar.StartPosition = FormStartPosition.CenterScreen;

   progressBar.Show(dlg.Owner);
Application.DoEvents();

}

posted @ 2012-07-11 17:28  咸鱼公子  Views(188)  Comments(0Edit  收藏  举报