This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This script has the following changes specific to this document: | |
* Heading will start with ## for Heading 1 (one more head level) | |
* Considers the Consolas font as an alternative to backtick. | |
*/ | |
/* | |
Usage: | |
Adding this script to your doc: | |
- Tools > Script Manager > New | |
- Select "Blank Project", then paste this code in and save. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" %> | |
<%@ Import Namespace="System.Collections.Generic" %> | |
<!DOCTYPE html> | |
<script runat="server"> | |
protected void Page_Load(object sender, EventArgs e) | |
{ | |
this.Store1.DataSource = new List<Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected void convertCompositeGoalValue(List<fastGoalDataStructure.dadosMeta.valoresMeta> values) | |
{ | |
foreach (var value in values) | |
{ | |
if (!value.na && value.pontualPrevisto.HasValue) | |
{ | |
if (value.pontualRealizado.HasValue) | |
value.pontualRealizado = value.acumRealizado = 100 + value.getDeviation(eVisualizacaoValores.ValoresPontuais).Item2??0; | |
if (value.pontualFC1.HasValue) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script runat="server"> | |
private Window CreateWindow(string id) | |
{ | |
Window win = new Window() | |
{ | |
ID = id, | |
Width = Unit.Pixel(1000), | |
Height = Unit.Pixel(600), | |
Modal = true, | |
AutoRender = false, |