Пример #1
0
        /// <summary>
        /// </summary>
        public virtual void SelectSlideName()
        {
            DialogSlideName DialogSlideName11709842b = null;

            if (System.IO.Directory.Exists(this.txtFolder.Text))
            {
                DialogSlideName11709842b = new DialogSlideName();
                DialogSlideName11709842b.LoadSlideNames(this.txtFolder.Text);
                System.Windows.Forms.DialogResult ret2201b95d = DialogSlideName11709842b.ShowDialog(this);
                if ((ret2201b95d == System.Windows.Forms.DialogResult.OK))
                {
                    this.txtName.Text = DialogSlideName11709842b.SelectedName;
                }
            }
        }
        /// <summary>
        /// </summary>
        public virtual void SelectName()
        {
            DialogSlideName DialogSlideName19120dca7 = null;

            if (System.IO.Directory.Exists(this.txtFolder.Text))
            {
                DialogSlideName19120dca7 = new DialogSlideName();
                DialogSlideName19120dca7.LoadSlideNames(this.txtFolder.Text);
                System.Windows.Forms.DialogResult retad9e845 = DialogSlideName19120dca7.ShowDialog(this);
                if ((retad9e845 == System.Windows.Forms.DialogResult.OK))
                {
                    this.txtName.Text  = DialogSlideName19120dca7.SelectedName;
                    this.txtIndex.Text = "1";
                }
            }
        }