/// <summary> /// Allows the game to perform any initialization it needs to before starting to run. /// This is where it can query for any required services and load any non-graphic /// related content. Calling base.Initialize will enumerate through any components /// and initialize them as well. /// </summary> protected override void Initialize() { // TODO: Add your initialization logic here SampleBrowser = new Xna.SampleBrowser( GraphicsDevice ); base.Initialize(); }
static void Main(string[] args) { ISample[] samples = { #if __CS__ new Window_External(), #endif new ImagePackageUI_Basic(), new ImagePackageUI_AlphaBlend(), new ImagePackageUI_Component(), new Pause_Basic(), new CustomPostEffect_Invert(), new CustomPostEffect_Mosaic(), new MapObject2D_Basic(), new MapObject2D_Camera(), new Action2D_Camera(), new DrawAdditionally2D_Material(), }; var browser = new SampleBrowser(samples); browser.Run(); }
/// <summary> /// Allows the game to perform any initialization it needs to before starting to run. /// This is where it can query for any required services and load any non-graphic /// related content. Calling base.Initialize will enumerate through any components /// and initialize them as well. /// </summary> protected override void Initialize() { // TODO: Add your initialization logic here SampleBrowser = new Xna.SampleBrowser(GraphicsDevice); base.Initialize(); }
public void Serialize(string filename, Sample[] samples) { var sampleBrowser = new SampleBrowser {Samples = samples}; using (var stream = new FileStream(filename, FileMode.Create)) _serializer.Serialize(stream, sampleBrowser); }
/// <summary> /// Initializes a new instance of the App class. /// </summary> public App() { this.InitializeComponent(); var page = SampleBrowser.GetMainPage("SfPopupLayout", "SampleBrowser.SfPopupLayout"); this.MainPage = page; }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Split Document"; Image1.ImageUrl = "~/Modify Documents/Split Document/Images/sample.png"; } }
public void Serialize(string filename, Sample[] samples) { var sampleBrowser = new SampleBrowser { Samples = samples }; using (var stream = new FileStream(filename, FileMode.Create)) _serializer.Serialize(stream, sampleBrowser); }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Silent Printing"; Image1.ImageUrl = "~/Print/Silent Printing/Images/sample.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Export as Image"; Image1.ImageUrl = "~/Export PDF/Export as Image/Images/sample.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Job Application"; Image1.ImageUrl = "~/Product Showcase/Job Application/Images/application.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Graphic Brushes"; Image1.ImageUrl = "~/Graphics/Graphic Brushes/Images/GraphicBrushes.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Hello World"; Image1.ImageUrl = "~/Getting Started/Hello World/Images/Helloworld.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "PDF-A"; Image1.ImageUrl = "~/Conformance/PDF-A/Images/Pdf-A.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Toolbar Customization"; Image1.ImageUrl = "~/Viewer/Custom Toolbar/Images/sample.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Image Insertion"; Image1.ImageUrl = "~/Graphics/Image Insertion/Images/imagepagination.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Document Settings"; Image1.ImageUrl = "~/Settings/Document Settings/Images/documentpropPrompt.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Invoice"; Image1.ImageUrl = "~/Product Showcase/Invoice/Images/invoice.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Encryption"; Image1.ImageUrl = "~/Security/Encryption/Images/Encryption.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Compress Existing PDF"; Image1.ImageUrl = "~/PDF Compression/Compress Existing PDF/Images/sample.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Excel to PDF"; Image1.ImageUrl = "~/Import to PDF/Excel to PDF/Images/ExcelToPDF.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Customtag"; Image1.ImageUrl = "~/Accessibility/Custom Tag/Images/Sample.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "XFA Form Creation"; Image1.ImageUrl = "~/User Interaction/XFA Form Creation/Images/sample.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Headers and Footers"; Image1.ImageUrl = "~/Settings/Headers and Footers/Images/Headerfooter.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Pdf Viewer Demo"; Image1.ImageUrl = "~/Viewer/Pdf Viewer Demo/Images/sample.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Text Flow"; Image1.ImageUrl = "~/Drawing Text/Text Flow/Images/TextFlow.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Northwind Report"; Image1.ImageUrl = "~/Tables/Northwind Report/Images/NorthwindReport.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Interactive Features"; Image1.ImageUrl = "~/User Interaction/Portfolio/Images/sample.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Adventure Cycle"; Image1.ImageUrl = "~/Tables/Table Features/Images/Adventure Cycle1.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Digital Signature"; Image1.ImageUrl = "~/Security/Digital Signature/Images/standard.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "Multi Column HTML Text"; Image1.ImageUrl = "~/Drawing Text/Multi Column HTML Text/Images/Image.png"; } }
protected void Page_Load(object sender, EventArgs e) { if (Page.Master != null) { SampleBrowser master = Page.Master as SampleBrowser; //master.TogglePanelTitle = "RTL Support"; Image1.ImageUrl = "~/Drawing Text/Complex Script/Images/Sample.png"; } }
/// <summary> /// Initializes a new instance of the App class. /// </summary> public App() { this.InitializeComponent(); var page = SampleBrowser.GetMainPage("SfPopupLayout", "SampleBrowser.SfPopupLayout"); page.On <Xamarin.Forms.PlatformConfiguration.iOS>().SetUseSafeArea(true); this.MainPage = page; }