public JoinClassView() { _view = this; InitializeComponent(); _localDataManager = DependencyResolver.Current.GetService <ILocalDataManager>(); _meetingService = DependencyResolver.Current.GetService <IMeetingSdkAgent>(); DataContext = new JoinClassViewModel(this); txt_classNo.Focus(); EventBinding(); }
public JoinClassControl(JoinClassView view, MeetingItem item) { InitializeComponent(); DataContext = new JoinClassControlViewModel(view, this, item); }