This file contains 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.Forms; | |
using Eto.Drawing; | |
using System.ComponentModel; | |
using System.Windows.Input; | |
using System.Threading.Tasks; | |
using System.Threading; | |
namespace TestAsyncAwait | |
{ |
This file contains 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.Forms; | |
using Eto.Drawing; | |
using System.Windows.Input; | |
using System.Runtime.CompilerServices; | |
using System.ComponentModel; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
namespace EtoApp2 |
This file contains 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.Forms; | |
using Eto.Drawing; | |
using System.Collections.Generic; | |
using System.Collections.ObjectModel; | |
using System.Windows.Input; | |
using System.Linq; | |
using System.ComponentModel; | |
using System.Runtime.CompilerServices; |
This file contains 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 System.Collections.ObjectModel; | |
using Eto.Forms; | |
using Eto.Drawing; | |
namespace Examples | |
{ | |
public class IconGridLayout : Panel | |
{ | |
int? lastWidth; |
This file contains 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 System.Collections.Generic; | |
using System.Linq; | |
using Eto.Forms; | |
using Eto.Drawing; | |
namespace MyValidationApp | |
{ | |
// base validator that can be extended to do custom validation | |
public class ControlValidator |
This file contains 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
// | |
// Copyright (C) 2010 Novell Inc. http://novell.com | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining | |
// a copy of this software and associated documentation files (the | |
// "Software"), to deal in the Software without restriction, including | |
// without limitation the rights to use, copy, modify, merge, publish, | |
// distribute, sublicense, and/or sell copies of the Software, and to | |
// permit persons to whom the Software is furnished to do so, subject to | |
// the following conditions: |
This file contains 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.Forms; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Collections.Generic; | |
using Eto.Drawing; | |
namespace RunEtoWithBackgroundTasks | |
{ |
This file contains 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 System.Linq; | |
using System.Collections.Generic; | |
class MyModel | |
{ | |
public Guid MyGuidProperty {get; set; } | |
} | |
This file contains 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.Drawing; | |
namespace MyEtoApp | |
{ | |
public class MyModel | |
{ | |
public MyModel() | |
{ | |
MyCommand = new Command(); |
This file contains 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.Drawing; | |
namespace CustomDrawable | |
{ | |
public class MyDrawable : Drawable | |
{ | |
bool mouseDragging; | |