예제 #1
0
        void InitializeGUIs()
        {
            this.GUI_List       = new List <UserControl>();
            this.DoubleBuffered = true;

            this.MyGraphGUI      = new GraphGUI();
            this.MyGraphGUI.Dock = DockStyle.Fill;
            this.MyGraphGUI.Name = "GraphGUI";
            this.Controls.Add(this.MyGraphGUI);
            this.GUI_List.Add(this.MyGraphGUI);
            this.MyGraphGUI.Visible = true;

            this.MyAgentGUI      = new AgentGUI();
            this.MyAgentGUI.Dock = DockStyle.Fill;
            this.MyAgentGUI.Name = "AgentGUI";
            this.Controls.Add(this.MyAgentGUI);
            this.GUI_List.Add(this.MyAgentGUI);
            this.MyAgentGUI.Visible = false;

            this.MyLearningGUI      = new LearningGUI();
            this.MyLearningGUI.Dock = DockStyle.Fill;
            this.MyLearningGUI.Name = "LearningGUI";
            this.Controls.Add(this.MyLearningGUI);
            this.GUI_List.Add(this.MyLearningGUI);
            this.MyLearningGUI.Visible = false;

            this.MyExperimentGUI      = new ExperimentGUI();
            this.MyExperimentGUI.Dock = DockStyle.Fill;
            this.MyExperimentGUI.Name = "ExperimentGUI";
            this.Controls.Add(this.MyExperimentGUI);
            this.GUI_List.Add(this.MyExperimentGUI);
            this.MyExperimentGUI.Visible = false;
        }
예제 #2
0
        void UserInitializeComponent()
        {
            this.SettingGUIList = new List<UserControl>();

            this.MyAnimationForm = new AnimationForm(this);
            this.MyAnimationForm.SetOSM(this.MyOSM);
            this.MyAnimationForm.Show();
            this.MyAnimationForm.Left = this.Right;
            this.DoubleBuffered = true;

            this.MyNetworkGUI = new NetworkGUI(this);
            this.MyNetworkGUI.SetOSM(this.MyOSM);
            this.MyNetworkGUI.Dock = DockStyle.Fill;
            this.MyNetworkGUI.Name = "NetworkGUI";
            this.Controls.Add(this.MyNetworkGUI);
            this.SettingGUIList.Add(this.MyNetworkGUI);
            this.MyNetworkGUI.Visible = true;

            this.MyAgentGUI = new AgentGUI(this);
            this.MyAgentGUI.SetOSM(this.MyOSM);
            this.MyAgentGUI.Dock = DockStyle.Fill;
            this.MyAgentGUI.Name = "AgentGUI";
            this.Controls.Add(this.MyAgentGUI);
            this.SettingGUIList.Add(this.MyAgentGUI);
            this.MyAgentGUI.Visible = false;

            this.MyLearningGUI = new LearningGUI(this);
            this.MyLearningGUI.SetOSM(this.MyOSM);
            this.MyLearningGUI.Dock = DockStyle.Fill;
            this.MyLearningGUI.Name = "LearningGUI";
            this.Controls.Add(this.MyLearningGUI);
            this.SettingGUIList.Add(this.MyLearningGUI);
            this.MyLearningGUI.Visible = false;

            this.MyAnimationGUI = new AnimationGUI();
            this.MyAnimationGUI.Dock = DockStyle.Fill;
            this.MyAnimationGUI.Name = "AnimationGUI";
            this.Controls.Add(this.MyAnimationGUI);
            this.SettingGUIList.Add(this.MyAnimationGUI);
            this.MyAnimationGUI.Visible = false;

            this.MyExperimentGUI = new ExperimentGUI(this);
            this.MyExperimentGUI.Dock = DockStyle.Fill;
            this.MyExperimentGUI.Name = "ExperimentGUI";
            this.Controls.Add(this.MyExperimentGUI);
            this.SettingGUIList.Add(this.MyExperimentGUI);
            this.MyExperimentGUI.Visible = false;
        }