MyIconTextButton.cs 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. using System;
  2. using System.CodeDom.Compiler;
  3. using System.ComponentModel;
  4. using System.Runtime.CompilerServices;
  5. using System.Threading;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Input;
  9. using System.Windows.Markup;
  10. using System.Windows.Media;
  11. using System.Windows.Shapes;
  12. using Microsoft.VisualBasic;
  13. using Microsoft.VisualBasic.CompilerServices;
  14. namespace PCL
  15. {
  16. // Token: 0x0200004E RID: 78
  17. [DesignerGenerated]
  18. public class MyIconTextButton : Border, IComponentConnector
  19. {
  20. // Token: 0x060001AF RID: 431 RVA: 0x000147B0 File Offset: 0x000129B0
  21. public MyIconTextButton()
  22. {
  23. base.MouseLeftButtonUp += delegate(object sender, MouseButtonEventArgs e)
  24. {
  25. this.MyIconTextButton_MouseUp();
  26. };
  27. base.MouseLeftButtonDown += delegate(object sender, MouseButtonEventArgs e)
  28. {
  29. this.MyIconTextButton_MouseDown();
  30. };
  31. base.MouseLeave += delegate(object sender, MouseEventArgs e)
  32. {
  33. this.MyIconTextButton_MouseLeave();
  34. };
  35. base.MouseEnter += new MouseEventHandler(this.RefreshColor);
  36. base.Loaded += new RoutedEventHandler(this.RefreshColor);
  37. base.IsEnabledChanged += delegate(object sender, DependencyPropertyChangedEventArgs e)
  38. {
  39. this.RefreshColor(RuntimeHelpers.GetObjectValue(sender), e);
  40. };
  41. this._Attribute = ModBase.GetUuid();
  42. this.annotation = 1.0;
  43. this._Merchant = false;
  44. this.InitializeComponent();
  45. }
  46. // Token: 0x060001B0 RID: 432 RVA: 0x00014858 File Offset: 0x00012A58
  47. [CompilerGenerated]
  48. public void ResetBroadcaster(MyIconTextButton.CheckEventHandler obj)
  49. {
  50. MyIconTextButton.CheckEventHandler checkEventHandler = this._Code;
  51. MyIconTextButton.CheckEventHandler checkEventHandler2;
  52. do
  53. {
  54. checkEventHandler2 = checkEventHandler;
  55. MyIconTextButton.CheckEventHandler value = (MyIconTextButton.CheckEventHandler)Delegate.Combine(checkEventHandler2, obj);
  56. checkEventHandler = Interlocked.CompareExchange<MyIconTextButton.CheckEventHandler>(ref this._Code, value, checkEventHandler2);
  57. }
  58. while (checkEventHandler != checkEventHandler2);
  59. }
  60. // Token: 0x060001B1 RID: 433 RVA: 0x00014890 File Offset: 0x00012A90
  61. [CompilerGenerated]
  62. public void InsertBroadcaster(MyIconTextButton.CheckEventHandler obj)
  63. {
  64. MyIconTextButton.CheckEventHandler checkEventHandler = this._Code;
  65. MyIconTextButton.CheckEventHandler checkEventHandler2;
  66. do
  67. {
  68. checkEventHandler2 = checkEventHandler;
  69. MyIconTextButton.CheckEventHandler value = (MyIconTextButton.CheckEventHandler)Delegate.Remove(checkEventHandler2, obj);
  70. checkEventHandler = Interlocked.CompareExchange<MyIconTextButton.CheckEventHandler>(ref this._Code, value, checkEventHandler2);
  71. }
  72. while (checkEventHandler != checkEventHandler2);
  73. }
  74. // Token: 0x060001B2 RID: 434 RVA: 0x000148C8 File Offset: 0x00012AC8
  75. [CompilerGenerated]
  76. public void ValidateBroadcaster(MyIconTextButton.ChangeEventHandler obj)
  77. {
  78. MyIconTextButton.ChangeEventHandler changeEventHandler = this.m_Prototype;
  79. MyIconTextButton.ChangeEventHandler changeEventHandler2;
  80. do
  81. {
  82. changeEventHandler2 = changeEventHandler;
  83. MyIconTextButton.ChangeEventHandler value = (MyIconTextButton.ChangeEventHandler)Delegate.Combine(changeEventHandler2, obj);
  84. changeEventHandler = Interlocked.CompareExchange<MyIconTextButton.ChangeEventHandler>(ref this.m_Prototype, value, changeEventHandler2);
  85. }
  86. while (changeEventHandler != changeEventHandler2);
  87. }
  88. // Token: 0x060001B3 RID: 435 RVA: 0x00014900 File Offset: 0x00012B00
  89. [CompilerGenerated]
  90. public void DefineBroadcaster(MyIconTextButton.ChangeEventHandler obj)
  91. {
  92. MyIconTextButton.ChangeEventHandler changeEventHandler = this.m_Prototype;
  93. MyIconTextButton.ChangeEventHandler changeEventHandler2;
  94. do
  95. {
  96. changeEventHandler2 = changeEventHandler;
  97. MyIconTextButton.ChangeEventHandler value = (MyIconTextButton.ChangeEventHandler)Delegate.Remove(changeEventHandler2, obj);
  98. changeEventHandler = Interlocked.CompareExchange<MyIconTextButton.ChangeEventHandler>(ref this.m_Prototype, value, changeEventHandler2);
  99. }
  100. while (changeEventHandler != changeEventHandler2);
  101. }
  102. // Token: 0x060001B4 RID: 436 RVA: 0x00014938 File Offset: 0x00012B38
  103. public void RaiseChange()
  104. {
  105. MyIconTextButton.ChangeEventHandler prototype = this.m_Prototype;
  106. if (prototype != null)
  107. {
  108. prototype(this, false);
  109. }
  110. }
  111. // Token: 0x1700001C RID: 28
  112. // (get) Token: 0x060001B5 RID: 437 RVA: 0x00003045 File Offset: 0x00001245
  113. // (set) Token: 0x060001B6 RID: 438 RVA: 0x00003057 File Offset: 0x00001257
  114. public string Logo
  115. {
  116. get
  117. {
  118. return this.ShapeLogo.Data.ToString();
  119. }
  120. set
  121. {
  122. this.ShapeLogo.Data = (Geometry)new GeometryConverter().ConvertFromString(value);
  123. }
  124. }
  125. // Token: 0x1700001D RID: 29
  126. // (get) Token: 0x060001B7 RID: 439 RVA: 0x00003074 File Offset: 0x00001274
  127. // (set) Token: 0x060001B8 RID: 440 RVA: 0x0000307C File Offset: 0x0000127C
  128. public double LogoScale
  129. {
  130. get
  131. {
  132. return this.annotation;
  133. }
  134. set
  135. {
  136. this.annotation = value;
  137. if (!Information.IsNothing(this.ShapeLogo))
  138. {
  139. this.ShapeLogo.RenderTransform = new ScaleTransform
  140. {
  141. ScaleX = this.LogoScale,
  142. ScaleY = this.LogoScale
  143. };
  144. }
  145. }
  146. }
  147. // Token: 0x1700001E RID: 30
  148. // (get) Token: 0x060001B9 RID: 441 RVA: 0x000030BA File Offset: 0x000012BA
  149. // (set) Token: 0x060001BA RID: 442 RVA: 0x000030CC File Offset: 0x000012CC
  150. public string Text
  151. {
  152. get
  153. {
  154. return Conversions.ToString(base.GetValue(MyIconTextButton.m_Adapter));
  155. }
  156. set
  157. {
  158. base.SetValue(MyIconTextButton.m_Adapter, value);
  159. }
  160. }
  161. // Token: 0x1700001F RID: 31
  162. // (get) Token: 0x060001BB RID: 443 RVA: 0x000030DA File Offset: 0x000012DA
  163. // (set) Token: 0x060001BC RID: 444 RVA: 0x000030EC File Offset: 0x000012EC
  164. public MyIconTextButton.ColorState ColorType
  165. {
  166. get
  167. {
  168. return (MyIconTextButton.ColorState)Conversions.ToInteger(base.GetValue(MyIconTextButton.facade));
  169. }
  170. set
  171. {
  172. if (this.ColorType != value)
  173. {
  174. base.SetValue(MyIconTextButton.facade, value);
  175. this.RefreshColor(null, null);
  176. }
  177. }
  178. }
  179. // Token: 0x14000003 RID: 3
  180. // (add) Token: 0x060001BD RID: 445 RVA: 0x00014958 File Offset: 0x00012B58
  181. // (remove) Token: 0x060001BE RID: 446 RVA: 0x00014990 File Offset: 0x00012B90
  182. public event MyIconTextButton.ClickEventHandler Click
  183. {
  184. [CompilerGenerated]
  185. add
  186. {
  187. MyIconTextButton.ClickEventHandler clickEventHandler = this.list;
  188. MyIconTextButton.ClickEventHandler clickEventHandler2;
  189. do
  190. {
  191. clickEventHandler2 = clickEventHandler;
  192. MyIconTextButton.ClickEventHandler value2 = (MyIconTextButton.ClickEventHandler)Delegate.Combine(clickEventHandler2, value);
  193. clickEventHandler = Interlocked.CompareExchange<MyIconTextButton.ClickEventHandler>(ref this.list, value2, clickEventHandler2);
  194. }
  195. while (clickEventHandler != clickEventHandler2);
  196. }
  197. [CompilerGenerated]
  198. remove
  199. {
  200. MyIconTextButton.ClickEventHandler clickEventHandler = this.list;
  201. MyIconTextButton.ClickEventHandler clickEventHandler2;
  202. do
  203. {
  204. clickEventHandler2 = clickEventHandler;
  205. MyIconTextButton.ClickEventHandler value2 = (MyIconTextButton.ClickEventHandler)Delegate.Remove(clickEventHandler2, value);
  206. clickEventHandler = Interlocked.CompareExchange<MyIconTextButton.ClickEventHandler>(ref this.list, value2, clickEventHandler2);
  207. }
  208. while (clickEventHandler != clickEventHandler2);
  209. }
  210. }
  211. // Token: 0x060001BF RID: 447 RVA: 0x000149C8 File Offset: 0x00012BC8
  212. private void MyIconTextButton_MouseUp()
  213. {
  214. if (this._Merchant)
  215. {
  216. ModBase.Log("[Control] 按下带图标按钮:" + this.Text, ModBase.LogLevel.Normal, "出现错误");
  217. this._Merchant = false;
  218. MyIconTextButton.ClickEventHandler clickEventHandler = this.list;
  219. if (clickEventHandler != null)
  220. {
  221. clickEventHandler(this, new ModBase.RouteEventArgs(true));
  222. }
  223. ModEvent.TryStartEvent(this.EventType, this.EventData);
  224. this.RefreshColor(null, null);
  225. }
  226. }
  227. // Token: 0x060001C0 RID: 448 RVA: 0x00003110 File Offset: 0x00001310
  228. private void MyIconTextButton_MouseDown()
  229. {
  230. this._Merchant = true;
  231. this.RefreshColor(null, null);
  232. }
  233. // Token: 0x060001C1 RID: 449 RVA: 0x00003121 File Offset: 0x00001321
  234. private void MyIconTextButton_MouseLeave()
  235. {
  236. this._Merchant = false;
  237. this.RefreshColor(null, null);
  238. }
  239. // Token: 0x17000020 RID: 32
  240. // (get) Token: 0x060001C2 RID: 450 RVA: 0x00003132 File Offset: 0x00001332
  241. // (set) Token: 0x060001C3 RID: 451 RVA: 0x00003144 File Offset: 0x00001344
  242. public string EventType
  243. {
  244. get
  245. {
  246. return Conversions.ToString(base.GetValue(MyIconTextButton.m_Authentication));
  247. }
  248. set
  249. {
  250. base.SetValue(MyIconTextButton.m_Authentication, value);
  251. }
  252. }
  253. // Token: 0x17000021 RID: 33
  254. // (get) Token: 0x060001C4 RID: 452 RVA: 0x00003152 File Offset: 0x00001352
  255. // (set) Token: 0x060001C5 RID: 453 RVA: 0x00003164 File Offset: 0x00001364
  256. public string EventData
  257. {
  258. get
  259. {
  260. return Conversions.ToString(base.GetValue(MyIconTextButton.algo));
  261. }
  262. set
  263. {
  264. base.SetValue(MyIconTextButton.algo, value);
  265. }
  266. }
  267. // Token: 0x060001C6 RID: 454 RVA: 0x00014A30 File Offset: 0x00012C30
  268. private void RefreshColor(object obj = null, object e = null)
  269. {
  270. try
  271. {
  272. if (base.IsLoaded && ModAnimation.CalcParser() == 0 && !false.Equals(RuntimeHelpers.GetObjectValue(e)))
  273. {
  274. MyIconTextButton.ColorState colorType = this.ColorType;
  275. if (colorType != MyIconTextButton.ColorState.Black)
  276. {
  277. if (colorType == MyIconTextButton.ColorState.Highlight)
  278. {
  279. if (this._Merchant)
  280. {
  281. ModAnimation.AniStart(ModAnimation.AaColor(this, Border.BackgroundProperty, "ColorBrush6", 70, 0, null, false), "MyIconTextButton Color " + Conversions.ToString(this._Attribute), false);
  282. }
  283. else if (base.IsMouseOver)
  284. {
  285. ModAnimation.AniStart(new ModAnimation.AniData[]
  286. {
  287. ModAnimation.AaColor(this.ShapeLogo, Shape.FillProperty, "ColorBrush3", 100, 0, null, false),
  288. ModAnimation.AaColor(this.LabText, TextBlock.ForegroundProperty, "ColorBrush3", 100, 0, null, false)
  289. }, "MyIconTextButton Checked " + Conversions.ToString(this._Attribute), false);
  290. ModAnimation.AniStart(ModAnimation.AaColor(this, Border.BackgroundProperty, "ColorBrushBg1", 100, 0, null, false), "MyIconTextButton Color " + Conversions.ToString(this._Attribute), false);
  291. }
  292. else if (base.IsEnabled)
  293. {
  294. ModAnimation.AniStart(new ModAnimation.AniData[]
  295. {
  296. ModAnimation.AaColor(this.ShapeLogo, Shape.FillProperty, "ColorBrush3", 150, 0, null, false),
  297. ModAnimation.AaColor(this.LabText, TextBlock.ForegroundProperty, "ColorBrush3", 150, 0, null, false)
  298. }, "MyIconTextButton Checked " + Conversions.ToString(this._Attribute), false);
  299. ModAnimation.AniStart(ModAnimation.AaColor(this, Border.BackgroundProperty, ModSecret._ConsumerField - base.Background, 150, 0, null, false), "MyIconTextButton Color " + Conversions.ToString(this._Attribute), false);
  300. }
  301. else
  302. {
  303. ModAnimation.AniStart(new ModAnimation.AniData[]
  304. {
  305. ModAnimation.AaColor(this.ShapeLogo, Shape.FillProperty, "ColorBrushGray5", 100, 0, null, false),
  306. ModAnimation.AaColor(this.LabText, TextBlock.ForegroundProperty, "ColorBrushGray5", 100, 0, null, false)
  307. }, "MyIconTextButton Checked " + Conversions.ToString(this._Attribute), false);
  308. ModAnimation.AniStart(ModAnimation.AaColor(this, Border.BackgroundProperty, ModSecret._ConsumerField - base.Background, 150, 0, null, false), "MyIconTextButton Color " + Conversions.ToString(this._Attribute), false);
  309. }
  310. }
  311. }
  312. else if (this._Merchant)
  313. {
  314. ModAnimation.AniStart(ModAnimation.AaColor(this, Border.BackgroundProperty, "ColorBrush6", 70, 0, null, false), "MyIconTextButton Color " + Conversions.ToString(this._Attribute), false);
  315. }
  316. else if (base.IsMouseOver)
  317. {
  318. ModAnimation.AniStart(new ModAnimation.AniData[]
  319. {
  320. ModAnimation.AaColor(this.ShapeLogo, Shape.FillProperty, "ColorBrush3", 100, 0, null, false),
  321. ModAnimation.AaColor(this.LabText, TextBlock.ForegroundProperty, "ColorBrush3", 100, 0, null, false)
  322. }, "MyIconTextButton Checked " + Conversions.ToString(this._Attribute), false);
  323. ModAnimation.AniStart(ModAnimation.AaColor(this, Border.BackgroundProperty, "ColorBrushBg1", 100, 0, null, false), "MyIconTextButton Color " + Conversions.ToString(this._Attribute), false);
  324. }
  325. else if (base.IsEnabled)
  326. {
  327. ModAnimation.AniStart(new ModAnimation.AniData[]
  328. {
  329. ModAnimation.AaColor(this.ShapeLogo, Shape.FillProperty, "ColorBrush1", 150, 0, null, false),
  330. ModAnimation.AaColor(this.LabText, TextBlock.ForegroundProperty, "ColorBrush1", 150, 0, null, false)
  331. }, "MyIconTextButton Checked " + Conversions.ToString(this._Attribute), false);
  332. ModAnimation.AniStart(ModAnimation.AaColor(this, Border.BackgroundProperty, ModSecret._ConsumerField - base.Background, 150, 0, null, false), "MyIconTextButton Color " + Conversions.ToString(this._Attribute), false);
  333. }
  334. else
  335. {
  336. ModAnimation.AniStart(new ModAnimation.AniData[]
  337. {
  338. ModAnimation.AaColor(this.ShapeLogo, Shape.FillProperty, "ColorBrushGray5", 100, 0, null, false),
  339. ModAnimation.AaColor(this.LabText, TextBlock.ForegroundProperty, "ColorBrushGray5", 100, 0, null, false)
  340. }, "MyIconTextButton Checked " + Conversions.ToString(this._Attribute), false);
  341. ModAnimation.AniStart(ModAnimation.AaColor(this, Border.BackgroundProperty, ModSecret._ConsumerField - base.Background, 150, 0, null, false), "MyIconTextButton Color " + Conversions.ToString(this._Attribute), false);
  342. }
  343. }
  344. else
  345. {
  346. ModAnimation.AniStop("MyIconTextButton Checked " + Conversions.ToString(this._Attribute));
  347. ModAnimation.AniStop("MyIconTextButton Color " + Conversions.ToString(this._Attribute));
  348. MyIconTextButton.ColorState colorType2 = this.ColorType;
  349. if (colorType2 != MyIconTextButton.ColorState.Black)
  350. {
  351. if (colorType2 == MyIconTextButton.ColorState.Highlight)
  352. {
  353. base.Background = ModSecret._ConsumerField;
  354. this.ShapeLogo.SetResourceReference(Shape.FillProperty, base.IsEnabled ? "ColorBrush3" : "ColorBrushGray5");
  355. this.LabText.SetResourceReference(TextBlock.ForegroundProperty, base.IsEnabled ? "ColorBrush3" : "ColorBrushGray5");
  356. }
  357. }
  358. else
  359. {
  360. base.Background = ModSecret._ConsumerField;
  361. this.ShapeLogo.SetResourceReference(Shape.FillProperty, base.IsEnabled ? "ColorBrush1" : "ColorBrushGray5");
  362. this.LabText.SetResourceReference(TextBlock.ForegroundProperty, base.IsEnabled ? "ColorBrush1" : "ColorBrushGray5");
  363. }
  364. }
  365. }
  366. catch (Exception ex)
  367. {
  368. ModBase.Log(ex, "刷新带图标按钮颜色出错", ModBase.LogLevel.Debug, "出现错误");
  369. }
  370. }
  371. // Token: 0x17000022 RID: 34
  372. // (get) Token: 0x060001C7 RID: 455 RVA: 0x00003172 File Offset: 0x00001372
  373. // (set) Token: 0x060001C8 RID: 456 RVA: 0x0000317A File Offset: 0x0000137A
  374. internal virtual MyIconTextButton PanBack { get; set; }
  375. // Token: 0x17000023 RID: 35
  376. // (get) Token: 0x060001C9 RID: 457 RVA: 0x00003183 File Offset: 0x00001383
  377. // (set) Token: 0x060001CA RID: 458 RVA: 0x0000318B File Offset: 0x0000138B
  378. internal virtual Path ShapeLogo { get; set; }
  379. // Token: 0x17000024 RID: 36
  380. // (get) Token: 0x060001CB RID: 459 RVA: 0x00003194 File Offset: 0x00001394
  381. // (set) Token: 0x060001CC RID: 460 RVA: 0x0000319C File Offset: 0x0000139C
  382. internal virtual TextBlock LabText { get; set; }
  383. // Token: 0x060001CD RID: 461 RVA: 0x00015044 File Offset: 0x00013244
  384. [GeneratedCode("PresentationBuildTasks", "4.0.0.0")]
  385. public void InitializeComponent()
  386. {
  387. if (!this.m_Database)
  388. {
  389. this.m_Database = true;
  390. Uri resourceLocator = new Uri("/Plain Craft Launcher 2;component/controls/myicontextbutton.xaml", UriKind.Relative);
  391. Application.LoadComponent(this, resourceLocator);
  392. }
  393. }
  394. // Token: 0x060001CE RID: 462 RVA: 0x000031A5 File Offset: 0x000013A5
  395. [GeneratedCode("PresentationBuildTasks", "4.0.0.0")]
  396. [EditorBrowsable(EditorBrowsableState.Never)]
  397. public void System_Windows_Markup_IComponentConnector_Connect(int connectionId, object target)
  398. {
  399. if (connectionId == 1)
  400. {
  401. this.PanBack = (MyIconTextButton)target;
  402. return;
  403. }
  404. if (connectionId == 2)
  405. {
  406. this.ShapeLogo = (Path)target;
  407. return;
  408. }
  409. if (connectionId == 3)
  410. {
  411. this.LabText = (TextBlock)target;
  412. return;
  413. }
  414. this.m_Database = true;
  415. }
  416. // Token: 0x040000BF RID: 191
  417. public int _Attribute;
  418. // Token: 0x040000C0 RID: 192
  419. [CompilerGenerated]
  420. private MyIconTextButton.CheckEventHandler _Code;
  421. // Token: 0x040000C1 RID: 193
  422. [CompilerGenerated]
  423. private MyIconTextButton.ChangeEventHandler m_Prototype;
  424. // Token: 0x040000C2 RID: 194
  425. private double annotation;
  426. // Token: 0x040000C3 RID: 195
  427. public static readonly DependencyProperty m_Adapter = DependencyProperty.Register("Text", typeof(string), typeof(MyIconTextButton), new PropertyMetadata(delegate(DependencyObject sender, DependencyPropertyChangedEventArgs e)
  428. {
  429. if (!Information.IsNothing(sender))
  430. {
  431. ((MyIconTextButton)sender).LabText.Text = Conversions.ToString(e.NewValue);
  432. }
  433. }));
  434. // Token: 0x040000C4 RID: 196
  435. public static readonly DependencyProperty facade = DependencyProperty.Register("ColorType", typeof(MyIconTextButton.ColorState), typeof(MyIconTextButton), new PropertyMetadata(MyIconTextButton.ColorState.Black));
  436. // Token: 0x040000C5 RID: 197
  437. [CompilerGenerated]
  438. private MyIconTextButton.ClickEventHandler list;
  439. // Token: 0x040000C6 RID: 198
  440. private bool _Merchant;
  441. // Token: 0x040000C7 RID: 199
  442. public static readonly DependencyProperty m_Authentication = DependencyProperty.Register("EventType", typeof(string), typeof(MyIconTextButton), new PropertyMetadata(null));
  443. // Token: 0x040000C8 RID: 200
  444. public static readonly DependencyProperty algo = DependencyProperty.Register("EventData", typeof(string), typeof(MyIconTextButton), new PropertyMetadata(null));
  445. // Token: 0x040000C9 RID: 201
  446. [CompilerGenerated]
  447. [AccessedThroughProperty("PanBack")]
  448. private MyIconTextButton _Comparator;
  449. // Token: 0x040000CA RID: 202
  450. [CompilerGenerated]
  451. [AccessedThroughProperty("ShapeLogo")]
  452. private Path _Mapping;
  453. // Token: 0x040000CB RID: 203
  454. [CompilerGenerated]
  455. [AccessedThroughProperty("LabText")]
  456. private TextBlock m_Tokenizer;
  457. // Token: 0x040000CC RID: 204
  458. private bool m_Database;
  459. // Token: 0x0200004F RID: 79
  460. // (Invoke) Token: 0x060001D6 RID: 470
  461. public delegate void CheckEventHandler(object sender, bool raiseByMouse);
  462. // Token: 0x02000050 RID: 80
  463. // (Invoke) Token: 0x060001DB RID: 475
  464. public delegate void ChangeEventHandler(object sender, bool raiseByMouse);
  465. // Token: 0x02000051 RID: 81
  466. public enum ColorState
  467. {
  468. // Token: 0x040000CE RID: 206
  469. Black,
  470. // Token: 0x040000CF RID: 207
  471. Highlight
  472. }
  473. // Token: 0x02000052 RID: 82
  474. // (Invoke) Token: 0x060001E0 RID: 480
  475. public delegate void ClickEventHandler(object sender, ModBase.RouteEventArgs e);
  476. }
  477. }