public inputForm(TimelinerTask Task, string ID, UIform parent)
        {
            this.Task = Task;
            this.UniqueID = ID;
            this.thisParent = parent;
            InitializeComponent();

            Dictionary<string,string> data = Core.Self.filesDB.Select(ID);
            if (data != null)
            {
                this.textBox1.Text = data["Value"];
            }
        }
 public override int Execute(params string[] parameters)
 {
     UIform form = Core.Self.activeUIForm;
     if (form != null)
     {
         if (form.Visible == true)
             form.Visible = false;
         else
             form.Visible = true;
     }
     else
     {
         if (!nDoc.IsClear)
         {
             form = new UIform();
             form.Show();
         }
         else
         {
             MessageBox.Show("Для работы с программой откройте проект", "Нет данных для работы", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
         }
     }
     return 0;
 }