<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
- <ProductVersion>12.0.0</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F58086C1-1E2F-459C-B8BE-269A245C09A2}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>GTKLinux</RootNamespace>
<Reference Include="atk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
<SpecificVersion>False</SpecificVersion>
</Reference>
- <Reference Include="Mono.Posix" />
<Reference Include="jsonrpc4net">
<HintPath>..\..\..\jsonrpc4net\jsonrpc4net\bin\Debug\jsonrpc4net.dll</HintPath>
</Reference>
- <Reference Include="NLog">
- <HintPath>..\..\..\ThirdParty\Libs\NLog\net45\NLog.dll</HintPath>
- </Reference>
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=c7439020c8fedf87">
<Package>monodevelop</Package>
<Private>True</Private>
</Reference>
- <Reference Include="System.Net.Http">
- <HintPath>..\..\..\..\..\..\..\usr\mymono\lib\mono\4.5\System.Net.Http.dll</HintPath>
+ <Reference Include="NLog">
+ <HintPath>..\packages\NLog.3.1.0.0\lib\net45\NLog.dll</HintPath>
</Reference>
+ <Reference Include="Mono.Posix" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="gtk-gui\gui.stetic">
<None Include="NLog.xsd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
+ <None Include="packages.config" />
</ItemGroup>
</Project>
using System;
using Gtk;
-using System.Threading.Tasks;
using Example.RemoteAgents.GTKLinux.View;
using NLog;
}
catch (Exception exception)
{
- logger.ErrorException("ButtonGetDateClicked error: ", exception);
+ logger.Error("ButtonGetDateClicked error: ", exception);
}
}
}
catch (Exception exception)
{
- logger.ErrorException("SendDataButtonClicked error: ", exception);
+ logger.Error("SendDataButtonClicked error: ", exception);
}
}
}
public partial class MainWindow
{
private global::Gtk.VBox vbox3;
+
private global::Gtk.TextView RemoteDate;
+
private global::Gtk.HBox hbox1;
+
private global::Gtk.ScrolledWindow GtkScrolledWindow;
+
private global::Gtk.TextView TextToSend;
+
private global::Gtk.SpinButton SpinButtonNumbers;
+
private global::Gtk.HBox hbox2;
+
private global::Gtk.Button ButtonGetDate;
+
private global::Gtk.Button SendDataButton;
protected virtual void Build ()