This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $ codesign -vvv ./TestMonoMacSigning.app/ | |
| ./TestMonoMacSigning.app/: a sealed resource is missing or invalid | |
| In architecture: i386 | |
| resource added: /Users/curtis/Projects/test/TestMonoMacSigning/TestMonoMacSigning/bin/x86/AppStore/TestMonoMacSigning.app/Contents/embedded.provisionprofile | |
| resource added: /Users/curtis/Projects/test/TestMonoMacSigning/TestMonoMacSigning/bin/x86/AppStore/TestMonoMacSigning.app/Contents/PkgInfo | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | transport = $.cookie('jabbr.transport'), | |
| options = {}; | |
| if (transport) { | |
| options['transport'] = transport; | |
| } | |
| + else | |
| + options['transport'] = 'longPolling'; | |
| connection.hub.logging = logging; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | class MyImageLabel : Drawable { | |
| Image image; | |
| Font font = Fonts.Sans (10); | |
| public string Text { get; set; } | |
| public override void OnPaint (PaintEventArgs e) | |
| { | |
| e.Graphics.DrawImage (image, 0, 0); | |
| e.Graphics.DrawText (font, 0, 0, Text) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | class MyImageLabel : Drawable { | |
| Font font = Fonts.Sans (10); | |
| public Image Image { get; set; } | |
| public string Text { get; set; } | |
| public override void OnPaint (PaintEventArgs e) | |
| { | |
| if (Image != null) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | class UserInfoPanel : Panel | |
| { | |
| public UserInfoPanel() | |
| { | |
| var layout = new DynamicLayout(this); | |
| layout.Add(new Label | |
| { | |
| Text = "User Info", | |
| Font = new Font(SystemFont.Bold, 15) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using Eto.Forms; | |
| using Eto.Platform.Wpf.Forms; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.Linq; | |
| using System.Text; | |
| using swf = System.Windows.Forms; | |
| namespace Eto.Test.Wpf | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var app = new Eto.Forms.Application(Generator.Detect); | |
| ((Eto.Platform.Mac.Forms.ApplicationHandler)app.Handler).AppDelegate = NSApplication.SharedApplication.Delegate; | |
| var form = new Eto.Forms.Form { Size = new Eto.Drawing.Size(200, 200), Title = "Hello!" }; | |
| form.Show(); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | using System; | |
| using Eto; | |
| using Eto.Forms; | |
| using Eto.Drawing; | |
| namespace SharpSHPBuilder | |
| { | |
| public class MainWindow : Form | |
| { | |
| public MainWindow() | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var bitmap = new Bitmap(100, 100, PixelFormat.Format32bppRgb); | |
| using (var bd = bitmap.Lock()) unsafe | |
| { | |
| int* val = (int*)bd.Data; | |
| var pos = new Point(50, 50); // pixel we want to set | |
| val += pos.X + (pos.Y * bd.ScanWidth / 4); // scanwidth is in bytes | |
| *val = bd.TranslateArgbToData(Colors.Blue.ToArgb()); // translate argb to data format (may be different RGB order per platform) | |
| } | 
OlderNewer