Exemple #1
0
 private void RuleCombo_BeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     this.ucUser.ReLoad(this.str_funcname);
     this.ucUser.SetInput(this._o_input);
     Cursor.Current = Cursors.Default;
 }
Exemple #2
0
 private void ResCombo_BeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     if (this.way == SelectPrinWay.SelectPrjOrg)
     {
         this.DoPrjOrg();
     }
     if (this.way == SelectPrinWay.SelectPrjUser)
     {
         this.DoPrjUser();
     }
 }
Exemple #3
0
 private void ultraEditor_BeforeEditorButtonDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     if ((this.txtField.Tag != null) && (this.txtField.Text != ""))
     {
         DropDownEditorButton button  = this.ultraEditor.ButtonsRight["SelectedRel"] as DropDownEditorButton;
         SortableListView     control = button.Control as SortableListView;
         if (!this.readOnly && !ModelContext.MetaModel.IsChild("PPCARD", this.txtField.Tag.ToString()))
         {
             this.CreateRelationList(control, (string)this.txtField.Tag);
         }
     }
 }
Exemple #4
0
 private void TimeCombo_BeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     this.ucUser.ReLoad(this.dt_input);
     if ((this.str_styleFormat.IndexOf("H") < 0) && (this.str_styleFormat.IndexOf("H") < 0))
     {
         this.ucUser.SetHide("Hour");
     }
     if (this.str_styleFormat.IndexOf("m") < 0)
     {
         this.ucUser.SetHide("Minute");
     }
     if ((this.str_styleFormat.IndexOf("s") < 0) && (this.str_styleFormat.IndexOf("s") < 0))
     {
         this.ucUser.SetHide("Second");
     }
     Cursor.Current = Cursors.Default;
 }
Exemple #5
0
 private void IDCombo_BeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     if (base.Width > 0x113)
     {
         if (this.ucUser != null)
         {
             this.ucUser.Width = base.Width;
         }
     }
     else if (this.ucUser != null)
     {
         this.ucUser.Width = 0x110;
     }
     if (this.ucUser != null)
     {
         this.ucUser.ReLoad(this.Text);
     }
     Cursor.Current = Cursors.Default;
 }
Exemple #6
0
        private void SetTreeViewID(object sender, BeforeEditorButtonDropDownEventArgs e)
        {
            string currID = "";

            //   Set the value
            if (ActiveControl.Parent.GetType() == typeof(UltraTextEditor))
            {
                UltraTextEditor te = this.ActiveControl.Parent as UltraTextEditor;
                if (te.Value != null && te.Value.ToString() != "")
                {
                    if (te.Name == "ultraOriginalType")
                    {
                        currID = _RemapID;
                    }
                    else
                    {
                        currID = ((RemapItem)_RemapList[GetActiveControdIndex()]).TypeID;
                    }
                }
            }
            ucTreeView1.ID = currID;
        }
Exemple #7
0
 private void CodeAttrCombo_BeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     this.ucUser.ReLoad(this.ClassOid, this.AL_unCodeMetaAttr, this.ca_input, this.b_IsAdd);
     Cursor.Current = Cursors.Default;
 }
Exemple #8
0
 private void ResCombo_BeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     this.ucBpm.Filter(this.ResValue);
     Cursor.Current = Cursors.Default;
 }
 void buttonBeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     ricercaCondominio.DisplayLayout.Bands[0].ColumnFilters.ClearAllFilters();
 }
Exemple #10
0
 private void TreeViewCombo_BeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     this.ucUser.ReLoad(this._treeview);
     Cursor.Current = Cursors.Default;
 }
Exemple #11
0
 private void ResCombo_BeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     this.ucBpm.Filter(this.ResValue);
     Cursor.Current = Cursors.Default;
 }
Exemple #12
0
 private void SerialCombo_BeforeDropDown(object sender, BeforeEditorButtonDropDownEventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;
     this.ucUser.ReLoad(this.str_input);
     Cursor.Current = Cursors.Default;
 }