Skip to content

Commit

Permalink
Merge pull request #17 from DigitalPlatform/master
Browse files Browse the repository at this point in the history
同步源
  • Loading branch information
renyh1013 committed Apr 24, 2016
2 parents aa94cff + 727934e commit 5c203c1
Show file tree
Hide file tree
Showing 9 changed files with 871 additions and 55 deletions.
31 changes: 28 additions & 3 deletions DigitalPlatform.MessageClient.GUI/UserDialog.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions DigitalPlatform.MessageClient.GUI/UserDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ void LoadFromUserItem()
this.textBox_duty.Text = this.UserItem.duty;
this.textBox_tel.Text = this.UserItem.tel;
this.textBox_comment.Text = this.UserItem.comment;
this.textBox_groups.Text = this.UserItem.groups == null? "" : string.Join(",", this.UserItem.groups);
}

void BuildUserItem()
Expand All @@ -55,6 +56,7 @@ void BuildUserItem()
this.UserItem.duty = this.textBox_duty.Text;
this.UserItem.tel = this.textBox_tel.Text;
this.UserItem.comment = this.textBox_comment.Text;
this.UserItem.groups = this.textBox_groups.Text.Split(new char[] {','});
}

private void UserDialog_Load(object sender, EventArgs e)
Expand Down
Loading

0 comments on commit 5c203c1

Please sign in to comment.