Пример #1
0
        private void ComboBoxItem_Selected(object sender, RoutedEventArgs e)
        {
            Session.SelectedProfileIndex = cbxProfileSelector.SelectedIndex;
            Session.Save();
            ProfileActionWindow profileActionWindow = new ProfileActionWindow();

            profileActionWindow.CommitProfile();
            profileActionWindow.ShowDialog();
        }
Пример #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Session.SelectedProfileIndex = cbxProfileSelector.SelectedIndex;
            Session.Save();
            ProfileActionWindow profileActionWindow = new ProfileActionWindow();

            profileActionWindow.SyncProfile();
            profileActionWindow.ShowDialog();
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.wdwProfileAction = ((ZipVersionControl.ProfileActionWindow)(target));
                return;

            case 2:
                this.pgbProgress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 3:
                this.tblStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }