Exemplo n.º 1
0
    //------------------------------------------------------------------------------
    //Function Name: RegisterUserDefinedUIBlock
    //Registers itself to the dialog which contains this block
    //------------------------------------------------------------------------------
    public static startDialog RegisterUserDefinedUIBlock(NXOpen.BlockStyler.BlockDialog parentDialog, string blockID)
    {
        startDialog thestartDialog = new startDialog();

        parentDialog.RegisterUserDefinedUIBlock(thestartDialog.theUserDefinedUIBlock, blockID);
        return(thestartDialog);
    }