Ejemplo n.º 1
0
        private void Create_Executor()
        {
            if (ExecutorCollection == null)
                ExecutorCollection = new Executor_Utilities.ExecutorContainerWrapper[1];
            else
                Array.Resize(ref ExecutorCollection, ExecutorCollection.Length + 1);

            ExecutorCollection[ExecutorCollection.GetUpperBound(0)] = new Executor_Utilities.ExecutorContainerWrapper();
            CurrentExecutorWrapper = ExecutorCollection[ExecutorCollection.GetUpperBound(0)];

            RefreshUIControls();

            inspect_Executor.BringToFront();
            inspect_Executor.Visible = true;
        }
Ejemplo n.º 2
0
        private void Create_Executor()
        {
            if (ExecutorCollection == null)
            {
                ExecutorCollection = new Executor_Utilities.ExecutorContainerWrapper[1];
            }
            else
            {
                Array.Resize(ref ExecutorCollection, ExecutorCollection.Length + 1);
            }

            ExecutorCollection[ExecutorCollection.GetUpperBound(0)] = new Executor_Utilities.ExecutorContainerWrapper();
            CurrentExecutorWrapper = ExecutorCollection[ExecutorCollection.GetUpperBound(0)];

            RefreshUIControls();

            inspect_Executor.BringToFront();
            inspect_Executor.Visible = true;
        }