網上有很多關于移動pos機申請表單,如何初始化應用表單位置的知識,也有很多人為大家解答關于移動pos機申請表單的問題,今天pos機之家(www.tonybus.com)為大家整理了關于這方面的知識,讓我們一起來看下吧!
本文目錄一覽:
移動pos機申請表單
點擊“了解更多”獲取工具
默認情況下,初始表單的起始位置指定如下:
SplashScreens顯示在屏幕中央。WaitForms以其父窗體為中心,初始屏幕管理器嘗試自動找到父表單。通過靜態SplashScreenManager.ShowImage方法調用的Splash圖像的顯示方式與WaitForms相同。您可以覆蓋默認的起始位置,如下所示:
若要為初始屏幕(即“初始屏幕管理器”的“激活初始表單”)指定手動開始位置(請參閱SplashScreenManager.ActiveSplashFormTypeInfo),請將SplashScreenManager.SplashFormStartPosition屬性設置為Manual,然后通過SplashScreenManager.SplashFormLocation屬性指定起點。要為不是“初始屏幕管理器”的“激活初始表單”的初始表單指定手動開始位置,請使用SplashScreenManager.ShowForm和SplashScreenManager.ShowImage方法重載提供的最后兩個參數:C#
public static void ShowForm(Form parentForm, Type splashFormType, bool useFadeIn, bool useFadeOut, SplashFormStartPosition startPos, Point loc)public static void ShowImage(Image image, bool useFadeIn, bool useFadeOut, SplashFormStartPosition startPos, Point loc)
以上就是關于移動pos機申請表單,如何初始化應用表單位置的知識,后面我們會繼續為大家整理關于移動pos機申請表單的知識,希望能夠幫助到大家!

轉發請帶上網址:http://www.tonybus.com/news/17785.html