Exemple #1
0
        }// InsertPropSheetPageControls

        void onSavePolicyClick(Object o, EventArgs e)
        {
            CWizard wiz = (CWizard)CNodeManager.GetNode(m_iCookie);

            if (m_chkSavePolicy.Checked)
            {
                wiz.TurnOnNext(true);
            }
            else
            {
                wiz.TurnOnNext(false);
            }
        } // onSavePolicyClick
Exemple #2
0
        }// onBrowse

        void onTextChange(Object o, EventArgs e)
        {
            CWizard wiz = (CWizard)CNodeManager.GetNode(m_iCookie);

            // See if we should turn on the Finish button
            if (m_txtFilename.Text.Length > 0)
            {
                wiz.TurnOnNext(true);
            }
            // Nope, we want the Finish button off
            else
            {
                wiz.TurnOnNext(false);
            }
        } // onTextChange
Exemple #3
0
        }// PutValuesinPage

        void onBrowse(Object o, EventArgs e)
        {
            // Pop up a file dialog so the user can find an assembly
            SaveFileDialog fd = new SaveFileDialog();

            fd.Title  = CResourceStore.GetString("CCreateDeploymentPackageWiz1:FileDialogTitle");
            fd.Filter = CResourceStore.GetString("CCreateDeploymentPackageWiz1:FileDialogMask");
            System.Windows.Forms.DialogResult dr = fd.ShowDialog();
            if (dr == System.Windows.Forms.DialogResult.OK)
            {
                m_txtFilename.Text = fd.FileName;
                CWizard wiz = (CWizard)CNodeManager.GetNode(m_iCookie);
                wiz.TurnOnNext(true);
            }
        }// onBrowse
Exemple #4
0
        }// ImportedPermissionSet

        void onTextChange(Object o, EventArgs e)
        {
            CWizard wiz = (CWizard)CNodeManager.GetNode(m_iCookie);

            if (m_radCreateNew.Checked)
            {
                // See if we should turn on the Next button
                bool fTurnOnNext = m_txtName.Text.Length > 0;
                wiz.TurnOnNext(fTurnOnNext);
            }
            else
            {
                // If they have a filename, then we be messing with the finish button
                bool fTurnOnFinish = m_txtFilename.Text.Length > 0;

                wiz.TurnOnFinish(fTurnOnFinish);
            }
        }// onTextChange
Exemple #5
0
        }// InsertPropSheetPageControls

        void onCheckChange(Object o, EventArgs e)
        {
            CWizard wiz = (CWizard)CNodeManager.GetNode(m_iCookie);

            wiz.TurnOnNext(m_chkGiveFull.Checked);
        }// onCheckChange