コード例 #1
0
        public ITSBasicJobForm(ItsControl control)
        {
            InitializeComponent();
            this.itsControl = control;

            Init();
        }
コード例 #2
0
        public virtual ItsControl GetUserControlParameters()
        {
            if (itsControl == null)
            {
                itsControl = new ItsControl();
            }

            return(itsControl);
        }
コード例 #3
0
        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);
            }
        }