public ITSBasicJobForm(ItsControl control) { InitializeComponent(); this.itsControl = control; Init(); }
public virtual ItsControl GetUserControlParameters() { if (itsControl == null) { itsControl = new ItsControl(); } return(itsControl); }
public XFrmAddNewTask(ItsControl control, string codProcesso) : this() { try { this.control = control; this.panelParams.Controls.Add(control); this.panelParams.Controls[0].Dock = DockStyle.Fill; var lst = cbProcesso.Properties.Items.Cast <ITSolution.Scheduler.EntidadesBd.ProcessIts>().Where("CodigoProcesso == @0", codProcesso).First(); cbProcesso.SelectedItem = lst; if (cbProcesso.SelectedItem != null) { cbProcesso.ReadOnly = true; } } catch (Exception ex) { XMessageIts.ExceptionMessage(ex); } }