Example #1
0
        private void HelpDialogClose_Click(object sender, RoutedEventArgs e)
        {
            if (HelpDialogClose.IsEnabled == false)
            {
                return;
            }
            HelpDialogClose.IsEnabled = false;
            PowerEase pe = new PowerEase();

            pe.Power = 2.5;
            ThicknessAnimation dm = new ThicknessAnimation();

            dm.EasingFunction = pe;
            dm.From           = HelpDialog.Margin;
            dm.To             = new Thickness((this.Width - HelpDialog.Width) / 2, -500, Barcode.Margin.Right, Barcode.Margin.Bottom);
            dm.Duration       = AnimationDuration;
            ColorAnimation pc = new ColorAnimation();

            pc.EasingFunction = pe;
            Color blackFrom = Colors.Black;

            blackFrom.A           = 153;
            pc.From               = blackFrom;
            blackFrom.A           = 0;
            pc.To                 = blackFrom;
            pc.Duration           = AnimationDuration;
            HelpSplash.Visibility = Visibility.Visible;
            HelpDialog.BeginAnimation(Grid.MarginProperty, dm);
            HelpSplash.Background.BeginAnimation(SolidColorBrush.ColorProperty, pc);
            DelayCall(500, new Action(() => { InfoButton.IsEnabled = true; HelpSplash.Visibility = Visibility.Hidden; }));
        }
        private static void AboutCmd_Execute(object sender, CommandRunArgs e)
        {
            HelpDialog helpDialog = new HelpDialog();

            helpDialog.Run();
            helpDialog.Destroy();
        }
Example #3
0
 private void HelpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var dialog = new HelpDialog())
     {
         dialog.ShowDialog();
     }
 }
Example #4
0
        protected override async Task PostAsync(IActivity item, string state, CancellationToken token)
        {
            var message = item as IMessageActivity;

            if (message != null)
            {
                string messageToSend = string.Empty;

                if (message.Text.ToLower() == "ayuda" || message.Text.ToLower() == "help")
                {
                    if (item.ChannelId == Channel.Skype)
                    {
                        messageToSend  = "Para conversar conmigo puedes hacerlo escribiendome o directamente llamarme.";
                        messageToSend += " \n\n\n\n" + "Escribeme frases de la siguiente manera";
                        messageToSend += " \n\n\n\n" + "-Enciende la luz de la habitaciĆ³n";
                        messageToSend += " \n\n\n\n" + "-Apagar luz de la cocina";
                        messageToSend += " \n\n\n\n" + "-Sube la persiana del comedor";
                    }

                    if (item.ChannelId == Channel.Sms)
                    {
                        messageToSend  = "Enviame mensajes como";
                        messageToSend += " \n\n" + "encender luz cocina";
                        messageToSend += " \n\n" + "apagar luz comedor";
                        messageToSend += " \n\n" + "subir persiana habitacion";
                    }


                    var commonResponsesDialog = new HelpDialog(messageToSend);
                    var interruption          = commonResponsesDialog.Void <object, IMessageActivity>();
                    this._task.Call(interruption, null);
                    await this._task.PollAsync(token);
                }
            }
        }
Example #5
0
 private void HelpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var dialog = new HelpDialog())
     {
         dialog.StartPosition = FormStartPosition.CenterParent;
         dialog.ShowDialog(this);
     }
 }
Example #6
0
 private void Window_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.F1)
     {
         HelpDialog helpDialog = new HelpDialog();
         helpDialog.ShowDialog();
     }
 }
 private void UserManagementListForm_HelpRequested(object sender, HelpEventArgs hlpevent)
 {
     using (HelpDialog dialog = new HelpDialog(Properties.Resources.PluginMetadataHelpPage))
     {
         dialog.Title = "User Reference Help";
         dialog.ShowDialog();
     }
 }
 private void GlobalSettingsManagementDialog_HelpRequested(object sender, HelpEventArgs hlpevent)
 {
     using (HelpDialog dialog = new HelpDialog(Properties.Resources.GlobalSettingsManagementHelpPage))
     {
         dialog.Title = "Global Settings Help";
         dialog.ShowDialog();
     }
 }
Example #9
0
        public override void Execute(string parameter)
        {
            var dia = new HelpDialog(models, parameter);

            if (dia.IsValid)
            {
                models.Window.ShowDialog(dia);
            }
        }
        protected override Task PostAsync(IActivity item, string state, CancellationToken token)
        {
            var message      = item as IMessageActivity;
            var dialog       = new HelpDialog();
            var interruption = dialog.Void(_stack);

            _stack.Call(interruption, null);
            return(Task.CompletedTask);
        }
Example #11
0
 /// <inheritdoc/>
 public override void StartInteraction(DiagramInteractionEventArguments interaction)
 {
     if (interaction.ViewModelUnderMouse is Node node)
     {
         var nodeCopy = _nodeProvider.CreateNodeFromName(node.GetType().FullName);
         node.SetAdorner(null);
         _helpDialog = new HelpDialog(nodeCopy);
         _dialogHost.OpenDialog(_helpDialog);
     }
 }
Example #12
0
        public void Execute(object parameter)
        {
            var dia = new HelpDialog(path);

            // only show dialog if window is valid (help page was found)
            if (dia.IsValid)
            {
                dia.Show();
            }
        }
        private void MigrationConflictInfoLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            HelpTopic migrationTopic = GetTopics()
                                       .Where(topic => topic.Name == "Migration conflicts")
                                       .First();

            HelpDialog dialog = new HelpDialog(migrationTopic);

            dialog.ShowDialog();
        }
Example #14
0
        ///////////////////////////////////////////////////////////////////////////////
        // Eventhandler                                                              //
        ///////////////////////////////////////////////////////////////////////////////
        #region EVENTS

        ///////////////////////////////////////////////////////////////////////////////
        // Eventhandler for UI, Menu, Buttons, Toolbars etc.                         //
        ///////////////////////////////////////////////////////////////////////////////
        #region WINDOWSEVENTHANDLER

        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="Button"/> <see cref="btnHelp"/>
        /// Raises a new <see cref="HelpDialog"/> dialog with instructions
        /// on how to define a new sound object and its position on the picture.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">A empty <see cref="EventArgs"/></param>
        private void btnHelp_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Define a sound object.";
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("After click on OK drag and pull a rectangle that bounds the new sound object. During slide design it will be visible via an icon, which will not be displayed during presentation. Therefore, size and position of the sound object will be ignored during presentation.");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #15
0
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="Button"/> <see cref="btnHelp"/>
        /// Raises a new <see cref="HelpDialog"/> dialog with instructions
        /// on how to define a new instruction and its position on the picture.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">A empty <see cref="EventArgs"/></param>
        private void btnHelp_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Define the position of the image.";
            StringBuilder sb = new StringBuilder();

            sb.Append("When the button is clicked you can specify position and size of the image by specifying the bounding rectangle with the left mouse button (click and pull) only when image layout is set to 'None'.");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #16
0
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="Button"/> <see cref="btnHelp"/>
        /// Raises a new <see cref="HelpDialog"/> dialog with instructions.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">A empty <see cref="EventArgs"/></param>
        private void btnHelp_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Interact with the movie.";
            StringBuilder sb = new StringBuilder();

            sb.Append("In the preview and on the slide you can interact with the flash movie just as usual.");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #17
0
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="Button"/> <see cref="btnHelp"/>
        /// Raises a new <see cref="HelpDialog"/> dialog with instructions
        /// on how to define a new instruction and its position on the picture.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">A empty <see cref="EventArgs"/></param>
        private void btnHelp_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Define the position of the shape.";
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("When the add rectangle or add ellipse buttons is clicked you can specify position and size of the shape by specifying the bounding rectangle with the left mouse button (click and pull).");
            sb.AppendLine("When adding a polyline you can specify each point of the polyline with a single left mouse click. The polyline creation is finished, when you clicked the first point again.");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #18
0
        ///////////////////////////////////////////////////////////////////////////////
        // Eventhandler                                                              //
        ///////////////////////////////////////////////////////////////////////////////
        #region EVENTS

        ///////////////////////////////////////////////////////////////////////////////
        // Eventhandler for UI, Menu, Buttons, Toolbars etc.                         //
        ///////////////////////////////////////////////////////////////////////////////
        #region WINDOWSEVENTHANDLER

        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="Button"/> <see cref="btnHelp"/>
        /// Raises a new <see cref="HelpDialog"/> dialog with instructions.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">A empty <see cref="EventArgs"/></param>
        private void btnHelp_Click(object sender, EventArgs e)
        {
            var dlg = new HelpDialog {
                HelpCaption = "How to: Define a desktop slide."
            };
            var sb = new StringBuilder();

            sb.Append("The desktop slide is a dummy that can be used to record anything" +
                      " that is on the desktop. It starts a screen recorder.");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #19
0
        private void ScheduledExecutionConfigurationForm_HelpButtonClicked(object sender, CancelEventArgs e)
        {
            Dictionary <string, Bitmap> images = new Dictionary <string, Bitmap>();

            images.Add("DIAGRAM", Properties.Resources.ScheduledExecutionHelp);
            var page = Properties.Resources.ScheduledExecutionHelpPage;

            using (HelpDialog dialog = new HelpDialog(page, images))
            {
                dialog.Title = "Scheduled Execution Help";
                dialog.ShowDialog();
            }
        }
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="PictureBox"/> <see cref="pcbLinksHelp"/>
        /// Shows a <see cref="HelpDialog"/> with help information on
        /// how to define links between slides.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">An empty <see cref="EventArgs"/></param>
        private void pcbLinksHelp_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Define links to other trials.";
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("Adding links to other trials enables to jump to different trials from one slide.");
            sb.Append("When the users response is in the list of links ");
            sb.Append("the slideshow will jump to the linked trial. ");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #21
0
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="Button"/> <see cref="btnHelp"/>
        /// Raises a new <see cref="HelpDialog"/> dialog with instructions.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">A empty <see cref="EventArgs"/></param>
        private void btnHelp_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Interact with the browser.";
            StringBuilder sb = new StringBuilder();

            sb.Append("In the preview and on the slide you can interact with the browser window just as usual.");
            sb.AppendLine();
            sb.Append("The preview will be updated once a valid URL is specified.");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #22
0
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="Button"/> <see cref="btnHelp"/>
        /// Raises a new <see cref="HelpDialog"/> dialog with instructions
        /// on how to define a new instruction and its position on the picture.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">A empty <see cref="EventArgs"/></param>
        private void btnHelp_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Define the position of the instruction.";
            StringBuilder sb = new StringBuilder();

            sb.Append("When the button is clicked you can specify position ");
            sb.Append("and text wrapping by specifying the bounding rectangle of the instruction with ");
            sb.AppendLine("the left mouse button (click and pull).");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #23
0
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="PictureBox"/> <see cref="pcbHelpBrowseDepth"/>
        /// Shows a <see cref="HelpDialog"/> with help information on
        /// how to define slide groups.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">An empty <see cref="EventArgs"/></param>
        private void pcbHelpBrowseDepth_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Allow or disable browsing.";
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("Set the depth to zero disables browsing for the subject at all.");
            sb.AppendLine("The depth otherwise indicates the maximum number of navigations (links clicked) the subject is allowed to make.");
            sb.AppendLine("Please note, that this also includes backward and forward links available on lots of web pages.");

            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="PictureBox"/> <see cref="pcbHelpTesting"/>
        /// Shows a <see cref="HelpDialog"/> with help information on
        /// how to define testing conditions.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">An empty <see cref="EventArgs"/></param>
        private void pcbHelpTesting_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Define correct responses.";
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("Adding correct responses simplifies the analysation process.");
            sb.Append("When the users responses is in the list of correct responses ");
            sb.Append("the column 'CorrectResponse' of the database will be filled ");
            sb.Append("with 'correct answered', so quick check for errors is possible.");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #25
0
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="PictureBox"/> <see cref="pcbHelpTiming"/>
        /// Shows a <see cref="HelpDialog"/> with help information on
        /// how to define timing conditions.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">An empty <see cref="EventArgs"/></param>
        private void pcbHelpTiming_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Stop web browser from beeing displayed";
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("Specify the response that the webbrowser slide waits for.");
            sb.Append("This can be a mouse button or a key or an elapsed time, or ");
            sb.AppendLine("a combination.");
            sb.AppendLine("Use the button 'Add condition' to add the condition to the list.");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #26
0
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="PictureBox"/> <see cref="pcbHelpNaming"/>
        /// Shows a <see cref="HelpDialog"/> with help information.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">An empty <see cref="EventArgs"/></param>
        private void pcbHelpNaming_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Name web browser slides.";
            StringBuilder sb = new StringBuilder();

            sb.Append("Specify a name for the starting browser page.");
            sb.Append("The category is an optional grouping possibility at slide level, ");
            sb.Append("that can be used in the statistics output.");

            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #27
0
        protected override async Task PostAsync(IActivity item, string state, CancellationToken token)
        {
            var message = item as IMessageActivity;

            if (message != null)
            {
                var settingsDialog = new HelpDialog();

                var interruption = settingsDialog.Void <object, IMessageActivity>();

                this.task.Call(interruption, null);

                await this.task.PollAsync(token);
            }
        }
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="PictureBox"/> <see cref="pcbHelpTiming"/>
        /// Shows a <see cref="HelpDialog"/> with help information on
        /// how to define timing conditions.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">An empty <see cref="EventArgs"/></param>
        private void pcbHelpTiming_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Stop slides from beeing displayed";
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("Specify the response that the stimulus slide waits for.");
            sb.Append("This can be a mouse button or a key or an elapsed time, or ");
            sb.AppendLine("a combination.");
            sb.Append("By clicking the checkbox 'but only in target areas' the mouse click that stops the ");
            sb.AppendLine("slide is restricted to the area of the targets defined in the next section.");
            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="PictureBox"/> <see cref="pcbHelpNaming"/>
        /// Shows a <see cref="HelpDialog"/> with help information on
        /// how to define slide groups.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">An empty <see cref="EventArgs"/></param>
        private void pcbHelpNaming_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Categorize slides.";
            StringBuilder sb = new StringBuilder();

            sb.Append("You can group multiple slides to one TRIAL, ");
            sb.Append("which is the unit OGAMA uses for analysation, ");
            sb.AppendLine("by right clicking in the slide treeview. ");
            sb.Append("The category is an optional grouping possibility at slide level, ");
            sb.Append("that can be used in the statistics output.");

            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
        /// <summary>
        /// <see cref="Control.Click"/> event handler
        /// for the <see cref="PictureBox"/> <see cref="pcbHelpTiming"/>
        /// Shows a <see cref="HelpDialog"/> with help information on
        /// how to define timing conditions.
        /// </summary>
        /// <param name="sender">Source of the event.</param>
        /// <param name="e">An empty <see cref="EventArgs"/></param>
        private void pcbHelpTrigger_Click(object sender, EventArgs e)
        {
            HelpDialog dlg = new HelpDialog();

            dlg.HelpCaption = "How to: Define slide triggers.";
            StringBuilder sb = new StringBuilder();

            sb.Append("You can send a trigger signal to an output device at the beginning of each slide, ");
            sb.AppendLine("with the settings made in this tab. ");
            sb.Append("There is also the option to define a general trigger for all slides ");
            sb.Append("in the recording interface. ");
            sb.AppendLine("DonĀ“t forget to enable trigger sending there.");

            dlg.HelpMessage = sb.ToString();
            dlg.ShowDialog();
        }
Example #31
0
        public GameScene()
        {
            MapControl.AutoRun = false;
            MapControl.AutoHit = false;
            Slaying = false;
            Thrusting = false;
            HalfMoon = false;
            CrossHalfMoon = false;
            DoubleSlash = false;
            TwinDrakeBlade = false;
            FlamingSword = false;

            GroupDialog.GroupList.Clear();

            Scene = this;
            BackColour = Color.Transparent;
            MoveTime = CMain.Time;

            KeyDown += GameScene_KeyDown;

            MainDialog = new MainDialog { Parent = this };
            ChatDialog = new ChatDialog { Parent = this };
            ChatControl = new ChatControlBar { Parent = this };
            InventoryDialog = new InventoryDialog { Parent = this };
            CharacterDialog = new CharacterDialog { Parent = this, Visible = false };
            BeltDialog = new BeltDialog { Parent = this };
            StorageDialog = new StorageDialog { Parent = this, Visible = false };
            MiniMapDialog = new MiniMapDialog { Parent = this };
            InspectDialog = new InspectDialog { Parent = this, Visible = false };
            OptionDialog = new OptionDialog { Parent = this, Visible = false };
            MenuDialog = new MenuDialog { Parent = this, Visible = false };
            NPCDialog = new NPCDialog { Parent = this, Visible = false };
            NPCGoodsDialog = new NPCGoodsDialog { Parent = this, Visible = false };
            NPCDropDialog = new NPCDropDialog { Parent = this, Visible = false };
            NPCAwakeDialog = new NPCAwakeDialog { Parent = this, Visible = false };

            HelpDialog = new HelpDialog { Parent = this, Visible = false };
            
            MountDialog = new MountDialog { Parent = this, Visible = false };
            FishingDialog = new FishingDialog { Parent = this, Visible = false };
            FishingStatusDialog = new FishingStatusDialog { Parent = this, Visible = false };
            
            GroupDialog = new GroupDialog { Parent = this, Visible = false };
            GuildDialog = new GuildDialog { Parent = this, Visible = false };
            GuildBuffDialog = new GuildBuffDialog { Parent = this, Visible = false };
            BigMapDialog = new BigMapDialog { Parent = this, Visible = false };
            TrustMerchantDialog = new TrustMerchantDialog { Parent = this, Visible = false };
            CharacterDuraPanel = new CharacterDuraPanel { Parent = this, Visible = false };
            DuraStatusPanel = new DuraStatusDialog { Parent = this, Visible = true };
            TradeDialog = new TradeDialog { Parent = this, Visible = false };
            GuestTradeDialog = new GuestTradeDialog { Parent = this, Visible = false };

            SkillBarDialog = new SkillBarDialog { Parent = this, Visible = false };
            ChatOptionDialog = new ChatOptionDialog { Parent = this, Visible = false };
            ChatNoticeDialog = new ChatNoticeDialog { Parent = this, Visible = false };

            QuestListDialog = new QuestListDialog { Parent = this, Visible = false };
            QuestDetailDialog = new QuestDetailDialog {Parent = this, Visible = false};
            QuestTrackingDialog = new QuestTrackingDialog { Parent = this, Visible = false };
            QuestLogDialog = new QuestDiaryDialog {Parent = this, Visible = false};

            RankingDialog = new RankingDialog { Parent = this, Visible = false };

            MailListDialog = new MailListDialog { Parent = this, Visible = false };
            MailComposeLetterDialog = new MailComposeLetterDialog { Parent = this, Visible = false };
            MailComposeParcelDialog = new MailComposeParcelDialog { Parent = this, Visible = false };
            MailReadLetterDialog = new MailReadLetterDialog { Parent = this, Visible = false };
            MailReadParcelDialog = new MailReadParcelDialog { Parent = this, Visible = false };

            IntelligentCreatureDialog = new IntelligentCreatureDialog { Parent = this, Visible = false };//IntelligentCreature
            IntelligentCreatureOptionsDialog = new IntelligentCreatureOptionsDialog { Parent = this, Visible = false };//IntelligentCreature
            IntelligentCreatureOptionsGradeDialog = new IntelligentCreatureOptionsGradeDialog { Parent = this, Visible = false };//IntelligentCreature

            RefineDialog = new RefineDialog { Parent = this, Visible = false };
            RelationshipDialog = new RelationshipDialog { Parent = this, Visible = false };
            FriendDialog = new FriendDialog { Parent = this, Visible = false };
            MemoDialog = new MemoDialog { Parent = this, Visible = false };
            MentorDialog = new MentorDialog { Parent = this, Visible = false };
            GameShopDialog = new GameShopDialog { Parent = this, Visible = false };

            //not added yet
            KeyboardLayoutDialog = new KeyboardLayoutDialog { Parent = this, Visible = false };
            

            

            for (int i = 0; i < OutputLines.Length; i++)
                OutputLines[i] = new MirLabel
                {
                    AutoSize = true,
                    BackColour = Color.Transparent,
                    Font = new Font(Settings.FontName, 10F),
                    ForeColour = Color.LimeGreen,
                    Location = new Point(20, 25 + i * 13),
                    OutLine = true,
                };
        }