Ejemplo n.º 1
0
        /// <summary>
        /// Method called when fabricator combo box selection changes.
        /// </summary>
        /// <param name="sender">Control that sent the message.</param>
        /// <param name="e">Parameters accompanying message.</param>
        private void ComboBox_SelectedIndexChanged(object sender, EventArgs e)
        {
            ClickThroughForm form = (ClickThroughForm)this.ParentForm;

            ClickThroughUIExtension[] extensions = (ClickThroughUIExtension[])this.extensionComboBox.Tag;

            int selected = this.extensionComboBox.SelectedIndex;

            form.ShowWorkPage(sender, extensions[selected]);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Event handler for when the back link is clicked to go back to Welcome page.
        /// </summary>
        /// <param name="sender">Control that sent the click request.</param>
        /// <param name="e">Event arguments for click.</param>
        private void BackLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            ClickThroughForm form = (ClickThroughForm)this.ParentForm;

            form.ShowWelcomePage(sender);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Method called when open link is clicked.
        /// </summary>
        /// <param name="sender">Control that sent the message.</param>
        /// <param name="e">Parameters accompanying message.</param>
        private void OpenLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            ClickThroughForm form = (ClickThroughForm)this.ParentForm;

            form.Open(sender);
        }