aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Android_Studio/Tango.Models/proguard-rules.pro
blob: a0eef131a4611af0347b01f6a974f32a79bee19b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in C:\Users\Roy\AppData\Local\Android\Sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
#   public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
w"> new Point(rnd.Next(30, 200), rnd.Next(30, 200)); Icon = PackIconKind.Table; if (header.Length < 5) { header = header.ToUpper(); } Header = header; View = view; View.MaxWidth = 1500; View.MaxHeight = 800; if (action != null) { AddCommand = new RelayCommand(action); } else { AddCommand = new RelayCommand(() => { if (!ViewsManager.DisplayedViews.Contains(this)) { ViewsManager.DisplayedViews.Add(this); View.BringIntoView(); View.Focus(); } else { View.BringIntoView(); View.Focus(); } }); } } /// <summary> /// Initializes a new instance of the <see cref="RegisteredView"/> class. /// </summary> /// <param name="header">The header.</param> /// <param name="view">The view.</param> public RegisteredView(String header, FrameworkElement view) : this(header, view, null) { if (header.Length < 5) { header = header.ToUpper(); } view.MaxWidth = 1500; view.MaxHeight = 800; Header = header; View = view; } /// <summary> /// Returns a <see cref="System.String" /> that represents this instance. /// </summary> /// <returns> /// A <see cref="System.String" /> that represents this instance. /// </returns> public override string ToString() { return Header; } } }