示例#1
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();
     }
 }
示例#2
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();
     }
 }
示例#3
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();
         }
     }
 }
示例#4
0
 private void    SetButtonssState()
 {
     if (m_DS != null)
     {
         if (m_DS.HasChanges())
         {
             Notification.Visible = true;
             CancelBtn.Enabled    = true;
             SaveBtn.Enabled      = true;
         }
         else
         {
             Notification.Visible = false;
             CancelBtn.Enabled    = false;
             SaveBtn.Enabled      = false;
         }
     }
 }
 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();
         }
     }
 }