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
private static Random random = new Random(); | |
private Color GetRandomColor() | |
{ | |
var r = (double)random.Next(1, 256); | |
var g = (double)random.Next(1, 256); | |
var b = (double)random.Next(1, 256); | |
r = r / 255; | |
g = g / 255; |
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
private string GetTabbedPagePath() | |
{ | |
string path = nameof(Views.MainTabbedPage); | |
var children = new List<string>() | |
{ | |
$"createTab={nameof(Views.TabAPage)}", | |
$"createTab={nameof(Views.TabBPage)}", | |
$"createTab={nameof(Views.TabCPage)}" | |
}; |
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
namespace Global.Logging | |
{ | |
[XamlCompilation(XamlCompilationOptions.Compile)] | |
public partial class App : PrismApplication | |
{ | |
protected override async void OnInitialized() | |
{ | |
InitializeComponent(); |
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 Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
using ShellDemo.Services; | |
using ShellDemo.Views; | |
namespace ShellDemo | |
{ | |
public partial class App : Application | |
{ |
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
public static class SqlHelper | |
{ | |
#region Methods | |
#region - Public Methods | |
/// <summary> | |
/// Replace * In SQL Statement With Object Properties | |
/// </summary> | |
/// <typeparam name="T"></typeparam> |
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
//https://user-images.githubusercontent.com/33064621/71083553-31544b00-218b-11ea-97af-74280ecaef96.png | |
using System; | |
using System.Windows; | |
using System.Windows.Controls; | |
//Requires NuGet Package: "https://www.nuget.org/packages/Microsoft.WindowsAPICodePack-Shell" | |
using Microsoft.WindowsAPICodePack.Dialogs; | |
public class FilePicker : UserControl |
NewerOlder