public static void Display( Form owner, params SettingsPage[] pages )
		{
			using( TabbedSettingsDialog dialog = new TabbedSettingsDialog() )
			{
				owner.Site.Container.Add( dialog );
				dialog.Font = owner.Font;
				dialog.SettingsPages.AddRange( pages ); 
				dialog.ShowDialog();
			}
		}
示例#2
0
 public static void Display(Form owner, params SettingsPage[] pages)
 {
     using (TabbedSettingsDialog dialog = new TabbedSettingsDialog())
     {
         owner.Site.Container.Add(dialog);
         dialog.Font = owner.Font;
         dialog.SettingsPages.AddRange(pages);
         dialog.ShowDialog();
     }
 }