Exemplo n.º 1
0
		private void OnLoaded(object sender, RoutedEventArgs e)
		{
			base.Loaded -= OnLoaded;
			Panel surveyPanel = this.ChildOfTypeAndName<Panel>("x_SurveyPanel");
			m_SurveyPanels = new SurveyPanels(surveyPanel, "Resources/Profile.xml", null);
			ActivatePanel(0);
		}
Exemplo n.º 2
0
		public SurveyDialog(string surveyFile, string title)
		{
			InitializeComponent();
			InitializeDialogPanel(true/*bModal*/, x_Next);
			base.Loaded += OnLoaded;

			x_Title.Text = title;
			m_SurveyPanels = new SurveyPanels(x_SurveyPanel, surveyFile, null);
			ActivatePanel(0);
		}