kopia lustrzana https://github.com/dl2alf/AirScout
36 wiersze
801 B
C#
36 wiersze
801 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using System.IO;
|
|
using ScoutBase.Core;
|
|
|
|
namespace AirScout
|
|
{
|
|
public partial class LicenseDlg : Form
|
|
{
|
|
|
|
private LogWriter Log = LogWriter.Instance;
|
|
|
|
public LicenseDlg()
|
|
{
|
|
InitializeComponent();
|
|
try
|
|
{
|
|
using (StreamReader sr = new StreamReader(Application.StartupPath + "\\license"))
|
|
{
|
|
rtb_License.Text = sr.ReadToEnd();
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
Log.WriteMessage(ex.ToString(), LogLevel.Error);
|
|
}
|
|
}
|
|
}
|
|
}
|