Ejemplo n.º 1
0
        private void fpSpread1_EditChange(object sender, FarPoint.Win.Spread.EditorNotifyEventArgs e)
        {
            //this.ParentForm.Text = "EditChange";
            if (_control != null)
            {
                _control.BringToFront();
                _control.Show();

                IFpInputable _editor = _control as IFpInputable;
                if (_editor != null)
                {
                    try
                    {
                        _editor.Filter(e.EditingControl.Text);
                    }
                    catch {}
                }
            }
        }
Ejemplo n.º 2
0
 private void fpSpread1_EditModeOn(object sender, System.EventArgs e)
 {
     //this.ParentForm.Text = "EditModeOn";
     this.SetLocation();
     if (_control != null)
     {
         IFpInputable _editor = _control as IFpInputable;
         if (_editor != null)
         {
             try
             {
                 _editor.Filter(this.fpSpread1.EditingControl.Text);
             }
             catch {}
         }
     }
     for (int i = 0; i < this.alControls.Count; i++)
     {
         if (this.alControls[i] != null && this.alControls[i] != _control)
         {
             ((Control)this.alControls[i]).Hide();
         }
     }
 }