コード例 #1
0
ファイル: paramcompare.cs プロジェクト: 415porto/ardupilotone
        public ParamCompare(GCSViews.Configuration config, Hashtable param, Hashtable param2)
        {
            InitializeComponent();
            this.param = param;
            this.param2 = param2;
            this.config = config;

            processToScreen();
        }
コード例 #2
0
ファイル: paramcompare.cs プロジェクト: zx901/ArduPlane
        public ParamCompare(GCSViews.Configuration config, Hashtable param, Hashtable param2)
        {
            InitializeComponent();
            this.param  = param;
            this.param2 = param2;
            this.config = config;

            processToScreen();
        }
コード例 #3
0
ファイル: MainV2.cs プロジェクト: 415porto/ardupilotone
        private void MenuConfiguration_Click(object sender, EventArgs e)
        {
            MyView.Controls.Clear();

            GCSViews.Terminal.threadrun = false;

            // dispose of old else memory leak
            if (Configuration != null)
            {
                try
                {
                    Configuration.Dispose();
                }
                catch { }
            }

            Configuration = new GCSViews.Configuration();

            UserControl temp = Configuration;

            fixtheme(temp);

            //temp.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top;

            temp.Location = new Point(0, 0);

            temp.Dock = DockStyle.Fill;

            temp.ForeColor = Color.White;

            temp.BackColor = Color.FromArgb(0x26, 0x27, 0x28);

            temp.Size = MyView.Size;

            //temp.Parent = MyView;

            MyView.Controls.Add(temp);
        }