예제 #1
0
 protected override void OnInit(EventArgs e)
 {
     InitializeComponent();
     base.OnInit(e);
     if (!IsWhatifMode())
     {
         string whatifPart = "whatif_";
         Response.Redirect(PAGENAME.Substring(whatifPart.Length));
     }
     tableSync = new TableSyncEquip(userDir);
 }
예제 #2
0
    protected override void OnInit(EventArgs e)
    {
        InitializeComponent();
        base.OnInit(e);
        if (IsWhatifMode())
        {
            Response.Redirect("whatif_equipment.aspx");
        }
        tableSync = new TableSyncEquip(userDir);
        string sheet = "Cheat Sheat Equipment Input Page";

        Master.SetHelpSheet(sheet + ".pdf", sheet);
    }