private void LoadContent()
        {
            System.Action<ApplicationBarIconButton>[] setters = new System.Action<ApplicationBarIconButton>[] { delegate (ApplicationBarIconButton p) {
                p.Text = AppResources.Save;
            } };
            base.ApplicationBar.GetIconButtonFrom(0).SetPropertyValue(setters);
            System.Action<ApplicationBarIconButton>[] actionArray2 = new System.Action<ApplicationBarIconButton>[] { delegate (ApplicationBarIconButton p) {
                p.Text = AppResources.Cancel;
            } };
            base.ApplicationBar.GetIconButtonFrom(1).SetPropertyValue(actionArray2);
            this.apbh.SelectContentWhenFocus = true;
            this.apbh.OriginalBar = base.ApplicationBar;
            this.apbh.AddTextBox(new TextBox[] { this.NameBox });
            this.frequencySelector = new FrequencySelector(this);
            this.frequencySelector.Header = AppResources.AppearPeriod.ToLowerInvariant();
            this.showTimeSettingPanel.Children.Add(this.frequencySelector);

            System.Collections.Generic.Dictionary<String, String> dictionary2 = new System.Collections.Generic.Dictionary<string, string>();
            dictionary2.Add("ExpenseOrIncomeTask", AppResources.SelectAccountItemsLabel);
            //dictionary2.Add("TransferingAccountTask", AppResources.TransferingAccount.ToLower());

            this.ItemSelector.ItemsSource = dictionary2;
        }
        private void InitializedFrequencySelector()
        {
            System.Collections.Generic.Dictionary<String, String> dictionary2 = new System.Collections.Generic.Dictionary<string, string>();
            dictionary2.Add("ExpenseOrIncomeTask", AppResources.SelectAccountItemsLabel);
            dictionary2.Add("TransferingAccountTask", AppResources.TransferingAccount.ToLower());

            this.ItemSelector.ItemsSource = dictionary2;
            this.frequencySelector = new FrequencySelector(this);
            Grid.SetRow(this.frequencySelector, 2);
            this.ContentPanel.Children.Add(this.frequencySelector);
            this.frequencySelector.FrequencyType.SelectionChanged += new SelectionChangedEventHandler(this.FrequencyType_SelectionChanged);
            this.frequencySelector.Frequency.PropertyChanged += new PropertyChangedEventHandler(this.Frequency_PropertyChanged);
        }
 private void LoadContent()
 {
     System.Action<ApplicationBarIconButton>[] setters = new System.Action<ApplicationBarIconButton>[] { delegate (ApplicationBarIconButton p) {
         p.Text = AppResources.Save;
     } };
     base.ApplicationBar.GetIconButtonFrom(0).SetPropertyValue(setters);
     System.Action<ApplicationBarIconButton>[] actionArray2 = new System.Action<ApplicationBarIconButton>[] { delegate (ApplicationBarIconButton p) {
         p.Text = AppResources.Cancel;
     } };
     base.ApplicationBar.GetIconButtonFrom(1).SetPropertyValue(actionArray2);
     this.apbh.SelectContentWhenFocus = true;
     this.apbh.OriginalBar = base.ApplicationBar;
     this.apbh.AddTextBox(new TextBox[] { this.NameBox });
     this.frequencySelector = new FrequencySelector(this);
     this.frequencySelector.Header = AppResources.AppearPeriod.ToLowerInvariant();
     this.showTimeSettingPanel.Children.Add(this.frequencySelector);
 }