示例#1
0
        public void StartMeeting()
        {
            MeetingView mv = new MeetingView(StartMeetingCallbackEvent, ExitMeetingCallbackEvent);

            //MeetingView mv =
            //    DependencyResolver.Current.Container.Resolve<MeetingView>(
            //        new TypedParameter(typeof(Action<bool, string>), StartMeetingCallbackEvent),
            //        new TypedParameter(typeof(Action<bool, string>), ExitMeetingCallbackEvent));
            mv.Show();
        }
示例#2
0
        public void StartMeeting()
        {
            MeetingView mv = new MeetingView(StartMeetingCallbackEvent, ExitMeetingCallbackEvent);

            //MeetingView mv =
            //    IoC.Get<MeetingView>(
            //        new TypedParameter(typeof(Action<bool, string>), StartMeetingCallbackEvent),
            //        new TypedParameter(typeof(Action<bool, string>), ExitMeetingCallbackEvent));
            mv.Show();
        }