From d9e6fe898ac41c0bea5335812173b87e8eac0ada Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 6 Jan 2021 22:44:53 +0000 Subject: Added initial UI and commands. Also created initial icon. --- R2D2/ViewController.designer.cs | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) (limited to 'R2D2/ViewController.designer.cs') diff --git a/R2D2/ViewController.designer.cs b/R2D2/ViewController.designer.cs index 40a740f..61c2322 100644 --- a/R2D2/ViewController.designer.cs +++ b/R2D2/ViewController.designer.cs @@ -1,18 +1,40 @@ -// WARNING +// WARNING // -// This file has been generated automatically by Xamarin Studio to store outlets and +// This file has been generated automatically by Visual Studio to store outlets and // actions made in the UI designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using Foundation; +using System.CodeDom.Compiler; namespace R2D2 { - [Register("ViewController")] - partial class ViewController - { - void ReleaseDesignerOutlets() - { - } - } + [Register ("ViewController")] + partial class ViewController + { + [Outlet] + AppKit.NSComboBox commandList { get; set; } + + [Outlet] + AppKit.NSComboBox scanList { get; set; } + + [Action ("DoScan:")] + partial void DoScan (Foundation.NSObject sender); + + [Action ("DoSendCommand:")] + partial void DoSendCommand (Foundation.NSObject sender); + + void ReleaseDesignerOutlets () + { + if (commandList != null) { + commandList.Dispose (); + commandList = null; + } + + if (scanList != null) { + scanList.Dispose (); + scanList = null; + } + } + } } -- cgit v1.2.3