2011-09-08 22:31:32 -03:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace ArdupilotMega.GCSViews
|
|
|
|
|
{
|
|
|
|
|
public partial class Help : MyUserControl
|
|
|
|
|
{
|
|
|
|
|
public Help()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
2011-12-17 05:22:40 -04:00
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
CHK_showconsole.Checked = MainV2.config["showconsole"].ToString() == "True";
|
|
|
|
|
}
|
|
|
|
|
catch { }
|
2011-09-08 22:31:32 -03:00
|
|
|
|
}
|
|
|
|
|
|
2012-01-23 09:36:20 -04:00
|
|
|
|
public void BUT_updatecheck_Click(object sender, EventArgs e)
|
2011-09-08 22:31:32 -03:00
|
|
|
|
{
|
2012-02-26 19:13:23 -04:00
|
|
|
|
MainV2.DoUpdate();
|
2011-09-08 22:31:32 -03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void CHK_showconsole_CheckedChanged(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
MainV2.config["showconsole"] = CHK_showconsole.Checked.ToString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void Help_Load(object sender, EventArgs e)
|
|
|
|
|
{
|
2012-01-23 09:36:20 -04:00
|
|
|
|
richTextBox1.Rtf = new ComponentResourceManager(this.GetType()).GetString("help_text");
|
2011-09-08 22:31:32 -03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|