示例#1
0
        protected override void OnShown(EventArgs e)
        {
            base.OnShown(e);

            RebindProfiles();

            if (!JinxBotConfiguration.ConfigurationFileExists)
            {
                FirstRunWizard wizard = new FirstRunWizard();
                wizard.ShowDialog(this);
            }

            if (JinxBotConfiguration.Instance.Profiles.Length == 0)
            {
                CreateProfileWizard cpw = new CreateProfileWizard();
                cpw.ShowDialog(this);
            }

            ThumbnailPreviewManager.Initialize(this);

            if (m_programArgs != null && m_programArgs.Length > 0)
            {
                (this as IJumpListWindowTarget).HandleJumpListCall(m_programArgs);
                m_programArgs = null;
            }
        }
示例#2
0
        private void newProfileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CreateProfileWizard cpw = new CreateProfileWizard();

            cpw.ShowDialog(this);
        }