Ejemplo n.º 1
0
 private void btn_Choose_Click(object sender, EventArgs e)
 {
     PropertyChooser frm = new PropertyChooser(this.core, this.selectedProperties);
     frm.ShowDialog();
     this.selectedProperties = frm.choosenKeys;
     propertyGrid.SelectedObject = new DictionaryPropertyGridAdapter(core.currentUAV.uavData, selectedProperties);
 }
Ejemplo n.º 2
0
        private void btn_Choose_Click(object sender, EventArgs e)
        {
            PropertyChooser frm = new PropertyChooser(this.core, this.selectedProperties);

            frm.ShowDialog();
            this.selectedProperties     = frm.choosenKeys;
            propertyGrid.SelectedObject = new DictionaryPropertyGridAdapter(core.currentUAV.uavData, selectedProperties);
        }
Ejemplo n.º 3
0
 private void btn_Choose_Click(object sender, EventArgs e)
 {
     PropertyChooser myfrm = new PropertyChooser(core, GetActiveParameters());
     if (myfrm.ShowDialog() == DialogResult.OK)
     {
         count = myfrm.choosenKeys.Count;
         UpdateActiveParameters(myfrm.choosenKeys);
     }
 }
Ejemplo n.º 4
0
        private void btn_Choose_Click(object sender, EventArgs e)
        {
            PropertyChooser myfrm = new PropertyChooser(core, GetActiveParameters());

            if (myfrm.ShowDialog() == DialogResult.OK)
            {
                count = myfrm.choosenKeys.Count;
                UpdateActiveParameters(myfrm.choosenKeys);
            }
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Shows Chooser Form and updates the Graph afterwards
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            PropertyChooser myfrm = new PropertyChooser(core, this.selectedKeys);

            myfrm.ShowDialog();
            this.selectedKeys = myfrm.choosenKeys;
            foreach (string curvename in this.selectedKeys)
            {
                CreateNewCurve(curvename);
            }
        }
Ejemplo n.º 6
0
 /// <summary>
 /// Shows Chooser Form and updates the Graph afterwards
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void button1_Click(object sender, EventArgs e)
 {
     PropertyChooser myfrm = new PropertyChooser(core,this.selectedKeys);
     myfrm.ShowDialog();
     this.selectedKeys = myfrm.choosenKeys;
     foreach (string curvename in this.selectedKeys) {
         CreateNewCurve(curvename);
     }
 }