示例#1
0
        public AccountSelect(string user, GroupSelect gs)
        {
            InitializeComponent();
            this.user = user;
            this.usern.Text = this.user;
            this.gs = gs;

            foreach (Account acct in this.gs.getParent().getAccounts()) {
                if (this.user == acct.username.Text) {
                    this.groupCheck.IsChecked = true;
                }
            }
        }
示例#2
0
        public AccountSelect(string user, GroupSelect gs)
        {
            InitializeComponent();
            this.user       = user;
            this.usern.Text = this.user;
            this.gs         = gs;

            foreach (Account acct in this.gs.getParent().getAccounts())
            {
                if (this.user == acct.username.Text)
                {
                    this.groupCheck.IsChecked = true;
                }
            }
        }
示例#3
0
文件: Group.xaml.cs 项目: mgway/rhel
        private void configure_Click(object sender, RoutedEventArgs e)
        {
            GroupSelect select = new GroupSelect(this.main, this);

            select.Show();
        }
示例#4
0
 private void configure_Click(object sender, RoutedEventArgs e)
 {
     GroupSelect select = new GroupSelect(this.main, this);
     select.Show();
 }