Exemplo n.º 1
0
 private void werteSetzenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pad mypad = new Pad(new GroundControlUI.ControlPanel(core), "Value Control Panel", WeifenLuo.WinFormsUI.Docking.DockState.Document);
     mypad.Show(this.dockPanel1);
 }
Exemplo n.º 2
0
 private void chartToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pad mypad = new Pad(new GroundControlUI.PropertygraphControl(core), "Graph", WeifenLuo.WinFormsUI.Docking.DockState.DockBottom);
     mypad.Show(this.dockPanel1);
 }
Exemplo n.º 3
0
 private void missionPlanerToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pad mypad = new Pad(new GroundControlUI.MapView(core), "Map Designer", WeifenLuo.WinFormsUI.Docking.DockState.Document);
     mypad.Show(this.dockPanel1);
 }
Exemplo n.º 4
0
 private void propertiesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pad mypad = new Pad(new GroundControlUI.PropertyWindow(core), "UAV Properties", WeifenLuo.WinFormsUI.Docking.DockState.DockRight);
     mypad.Show(this.dockPanel1);
 }
Exemplo n.º 5
0
        private void groundLogToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var logviewer = new GroundControlUI.LogViewer(core, "GroundLog");
            logviewer.ShowConnectionsStateChanges = true;
            Pad mypad = new Pad(logviewer, "GroundLog", WeifenLuo.WinFormsUI.Docking.DockState.DockBottom);

            mypad.Show(this.dockPanel1);
        }
Exemplo n.º 6
0
 private void kommunikationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Pad mypad = new Pad(new GroundControlUI.ConnectionsPanel(core), "Verbindungen", WeifenLuo.WinFormsUI.Docking.DockState.DockRight);
     mypad.Show(this.dockPanel1);
 }
Exemplo n.º 7
0
        private void eFISToolStripMenuItem_Click(object sender, EventArgs e)
        {
            EFISViewer ucontrol = new EFISViewer(core);

            Pad threedPad = new Pad(ucontrol, "EFIS", DockState.Document);
            threedPad.Show();
            threedPad.TopMost = true;
        }
Exemplo n.º 8
0
        private IDockContent GetContentFromPersistString(string persistString)
        {
            // DummyDoc overrides GetPersistString to add extra information into persistString.
            // Any DockContent may override this value to add any needed information for deserialization.
            try
            {
                string[] parsedStrings = persistString.Split(new char[] { ';' });
                Assembly assm = Assembly.Load(parsedStrings[0].Split(',')[0]);
                Type t = assm.GetType(parsedStrings[1], true);
                BindingFlags flags = BindingFlags.Default;
                Pad newpad = new Pad((UserControl)Activator.CreateInstance(parsedStrings[0].Split(',')[0], parsedStrings[1], true, flags, null, new object[] { this.core }, null, null).Unwrap(), parsedStrings[2], DockState.Float);
                ((GroundControlUI.PersistentData)newpad.basecontrol).PersistentData = parsedStrings[3];
                return newpad;
            }
            catch (Exception ex)
            {

            }
            return null;
        }
Exemplo n.º 9
0
        private void instrumentPanelToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Pad mypad = new Pad(new GroundControlUI.InstrumentPanel(core), "Instrument Panel", WeifenLuo.WinFormsUI.Docking.DockState.Document);

            mypad.Show(this.dockPanel1);
        }
Exemplo n.º 10
0
        private void dPanelToolStripMenuItem_Click(object sender, EventArgs e)
        {
            _3DViewer ucontrol = new _3DViewer(core.currentUAV);

            Pad threedPad = new Pad(ucontrol, "3D Viewer", DockState.Document);
            threedPad.Show();
            threedPad.TopMost = true;
        }
Exemplo n.º 11
0
        private void chartToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Pad mypad = new Pad(new GroundControlUI.PropertygraphControl(core), "Graph", WeifenLuo.WinFormsUI.Docking.DockState.DockBottom);

            mypad.Show(this.dockPanel1);
        }
Exemplo n.º 12
0
        private void propertiesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Pad mypad = new Pad(new GroundControlUI.PropertyWindow(core), "UAV Properties", WeifenLuo.WinFormsUI.Docking.DockState.DockRight);

            mypad.Show(this.dockPanel1);
        }
Exemplo n.º 13
0
        private void missionPlanerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Pad mypad = new Pad(new GroundControlUI.MapView(core), "Map Designer", WeifenLuo.WinFormsUI.Docking.DockState.Document);

            mypad.Show(this.dockPanel1);
        }
Exemplo n.º 14
0
        private void kommunikationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Pad mypad = new Pad(new GroundControlUI.ConnectionsPanel(core), "Verbindungen", WeifenLuo.WinFormsUI.Docking.DockState.DockRight);

            mypad.Show(this.dockPanel1);
        }
Exemplo n.º 15
0
        private void instrumentPanelToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Pad mypad = new Pad(new GroundControlUI.InstrumentPanel(), "Instrument Panel", WeifenLuo.WinFormsUI.Docking.DockState.Document);

            mypad.Show(this.dockPanel1);
        }