예제 #1
0
        public void SetData(CredentialEntry ce, string servername, string group)
        {
            _servername = servername;
            _group      = group;

            Text = String.Format(Text, group);

            foreach (MPPage page in GetPages())
            {
                IPropertiesPage ipp = page as IPropertiesPage;
                ipp.SetData(ce, servername, group);
            }
        }
예제 #2
0
        public void SetData(CredentialEntry ce, string servername, string username)
        {
            Logger.Log(String.Format(
                           "UserPropertiesDlg.SetData({0}, {1}, {2}) called",
                           ce,
                           servername,
                           username),
                       Logger.netAPILogLevel);

            _servername = servername;
            _username   = username;

            this.Text = String.Format(this.Text, username);

            foreach (MPPage page in this.GetPages())
            {
                IPropertiesPage ipp = page as IPropertiesPage;
                if (ipp != null)
                {
                    ipp.SetData(ce, servername, username);
                }
            }
        }