Пример #1
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS = EnvInit();
     if (!IsPostBack)
     {
         SetButtonssState();
     }
 }
Пример #2
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS	=	EnvInit();
     if(!IsPostBack)
     {
         SetButtonssState();
     }
 }
Пример #3
0
 protected void    RefreshStatus()
 {
     MultiXTpm.ConfigData   Config;
     MultiXTpm.SystemStatus Status = m_Tpm.GetSystemStatus(LastConfigUpdate, out Config);
     m_DS             = RebuildDS(m_DS, Config, Status);
     CurrentTime.Text = DateTime.Now.ToString();
     DataBind();
 }
Пример #4
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS = EnvInit();
     if (m_DS != null)
     {
         LinksView.Table = m_DS.Link;
         DataBind();
     }
 }
Пример #5
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS	=	EnvInit();
     if(m_DS	!=	null)
     {
         MessagesView.Table	=	m_DS.Message;
         DataBind();
     }
 }
Пример #6
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS = EnvInit();
     if (!IsPostBack)
     {
         MainMenu.DataBind();
         FillAllNodes(MainMenu.Nodes);
     }
 }
Пример #7
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS	=	EnvInit();
     if(m_DS	!=	null)
     {
         if(m_DS.HasChanges())
             Response.Redirect("Operations.aspx");
         GroupsView.Table	=	m_DS.Group;
         DataBind();
     }
 }
Пример #8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_DS = new MultiXTpmAdmin.MultiXTpmDB();
     ((System.ComponentModel.ISupportInitialize)(this.m_DS)).BeginInit();
     //
     // m_DS
     //
     this.m_DS.DataSetName        = "MultiXTpmDB";
     this.m_DS.EnforceConstraints = false;
     this.m_DS.Locale             = new System.Globalization.CultureInfo("he-IL");
     ((System.ComponentModel.ISupportInitialize)(this.m_DS)).EndInit();
 }
Пример #9
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS = EnvInit();
     if (m_DS != null)
     {
         if (m_DS.HasChanges())
         {
             Response.Redirect("Operations.aspx");
         }
         GroupsView.Table = m_DS.Group;
         DataBind();
     }
 }
Пример #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_DS = new MultiXTpmAdmin.MultiXTpmDB();
     ((System.ComponentModel.ISupportInitialize)(this.m_DS)).BeginInit();
     this.ParamsGrid.DeleteCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.ParamsGrid_DeleteCommand);
     //
     // m_DS
     //
     this.m_DS.DataSetName        = "MultiXTpmDB";
     this.m_DS.EnforceConstraints = false;
     this.m_DS.Locale             = new System.Globalization.CultureInfo("he-IL");
     ((System.ComponentModel.ISupportInitialize)(this.m_DS)).EndInit();
 }
Пример #11
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS = EnvInit();
     if (!IsPostBack)
     {
         if (m_DS != null)
         {
             if (m_DS.HasChanges())
             {
                 Response.Redirect("Operations.aspx");
             }
             RefreshStatus();
         }
     }
 }
Пример #12
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            m_DS          = EnvInit();
            m_MessageRow  = null;
            m_bEditMode   = false;
            m_bNewMessage = false;
            m_MessageID   = -1;

            if (!IsPostBack)
            {
                if (Request["MessageID"] != null)
                {
                    if (Request["MessageID"].ToLower() == "new")
                    {
                        SetNewState(true, false, m_MessageID);
                        return;
                    }
                    m_MessageID = Convert.ToInt32(Request["MessageID"]);
                }
                else
                {
                    m_MessageID = -1;
                }

                if (m_MessageID >= 0)
                {
                    m_MessageRow = m_DS.Message.FindByID(m_MessageID);
                    if (m_MessageRow == null)
                    {
                        Utilities.SetError(this, "Message not defined in the system", null);
                    }
                }
                SetNewState(false, false, m_MessageID);
            }
            else
            {
                LoadFromViewState();
                if (m_MessageID >= 0)
                {
                    m_MessageRow = m_DS.Message.FindByID(m_MessageID);
                }
            }
        }
Пример #13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_DS = new MultiXTpmAdmin.MultiXTpmDB();
     this.GroupsView = new System.Data.DataView();
     ((System.ComponentModel.ISupportInitialize)(this.m_DS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GroupsView)).BeginInit();
     //
     // m_DS
     //
     this.m_DS.DataSetName = "MultiXTpmDB";
     this.m_DS.EnforceConstraints = false;
     this.m_DS.Locale = new System.Globalization.CultureInfo("he-IL");
     //
     // GroupsView
     //
     this.GroupsView.Table = this.m_DS.Group;
     ((System.ComponentModel.ISupportInitialize)(this.m_DS)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GroupsView)).EndInit();
 }
Пример #14
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS = EnvInit();
     ProcessClassesView.Table = m_DS.ProcessClass;
     DataBind();
 }
Пример #15
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS	=	EnvInit();
     if(!IsPostBack)
     {
         if(m_DS	!=	null)
         {
             if(m_DS.HasChanges())
                 Response.Redirect("Operations.aspx");
             RefreshStatus();
         }
     }
 }
Пример #16
0
 protected void RefreshStatus()
 {
     MultiXTpm.ConfigData	Config;
     MultiXTpm.SystemStatus	Status	=	m_Tpm.GetSystemStatus(LastConfigUpdate,out	Config);
     m_DS	=	RebuildDS(m_DS,Config,Status);
     CurrentTime.Text	=	DateTime.Now.ToString();
     DataBind();
 }
Пример #17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_DS = new MultiXTpmAdmin.MultiXTpmDB();
     ((System.ComponentModel.ISupportInitialize)(this.m_DS)).BeginInit();
     //
     // m_DS
     //
     this.m_DS.DataSetName = "MultiXTpmDB";
     this.m_DS.EnforceConstraints = false;
     this.m_DS.Locale = new System.Globalization.CultureInfo("he-IL");
     this.ProcessesGrid.DeleteCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.ProcessesGrid_DeleteCommand);
     ((System.ComponentModel.ISupportInitialize)(this.m_DS)).EndInit();
 }
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS	=	EnvInit();
     ProcessClassesView.Table	=	m_DS.ProcessClass;
     DataBind();
 }
Пример #19
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            m_DS	=	EnvInit();
            m_GroupRow	=	null;
            m_bEditMode	=	false;
            m_bNewGroup	=	false;
            m_GroupID	=	-1;

            if(!IsPostBack)
            {
                if(Request["GroupID"]	!=	null)
                {
                    if(Request["GroupID"].ToLower()	==	"new")
                    {
                        SetNewState(true,false,m_GroupID);
                        return;
                    }
                    m_GroupID	=	Convert.ToInt32(Request["GroupID"]);
                }
                else
                {
                    m_GroupID	=	-1;
                }

                if(m_GroupID	>=	0)
                {
                    m_GroupRow	=	m_DS.Group.FindByID(m_GroupID);
                    if(m_GroupRow	==	null)
                        Utilities.SetError(this, "Group not defined in the system", null);
                }
                SetNewState(false,false,m_GroupID);
            }
            else
            {
                LoadFromViewState();
                if(m_GroupID	>=	0)
                {
                    m_GroupRow	=	m_DS.Group.FindByID(m_GroupID);
                }
            }
        }
Пример #20
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     m_DS	=	EnvInit();
     if(!IsPostBack)
     {
         MainMenu.DataBind();
         FillAllNodes(MainMenu.Nodes);
     }
 }