Esempio n. 1
0
        public void ChangeAttribute(string attribute)
        {
            FormForChange ChangeTitle = new FormForChange();
            FormView      View        = new FormView();

            ChangeTitle.Owner = View;
            ChangeTitle.ShowDialog();
            if (attribute == "title")
            {
                title = ChangeTitle.result;
            }
            else
            {
                if (attribute == "author")
                {
                    author = ChangeTitle.result;
                }
                else
                {
                    publisher = ChangeTitle.result;
                }
            }
        }
Esempio n. 2
0
 public FormForChange()
 {
     InitializeComponent();
     FormView Main = this.Owner as FormView;
 }