예제 #1
0
파일: MainForm.cs 프로젝트: lythm/orb3d
        private void botTemplateListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (DockContent c in DockPanel.Contents)
            {
                if (c is BotTemplatesForm)
                {
                    c.Show(DockPanel);
                    return;
                }
            }

            BotTemplatesForm t = new BotTemplatesForm(AppContext.BotTplList);

            t.Show(DockPanel);
        }
예제 #2
0
파일: MainForm.cs 프로젝트: lythm/orb3d
        private void MainForm_Load(object sender, EventArgs e)
        {
            FOutputForm = new OutputForm();
            FOutputForm.Show(DockPanel);

            WriteLog("Bot Studio Started.");

            BotTemplatesForm t = new BotTemplatesForm(AppContext.BotTplList);

            t.Show(DockPanel);

            BotListForm l = new BotListForm();
            l.Show(DockPanel);

            AppContext.BotTplList.Update();
        }