Ejemplo n.º 1
0
        void txt_article_NewEntryNeeded(object sender, string pValue)
        {
            if (fsarticle == null)
            {
                fsarticle = new FArticle();
            }
            Parent.Controls.Add(fsarticle);
            fsarticle.Dock = DockStyle.Fill;
            fsarticle.Show();
            fsarticle.BringToFront();
            fsarticle.Focus();

            fsarticle.SetAction(BtnEvent.New, null);
            fsarticle.SetFocus();
        }
Ejemplo n.º 2
0
 void FArticleNewEntry(string pValue)
 {
     if (xarticle == null)
     {
         xarticle = new FArticle();
         xarticle.FArticle_NeedToRefresh += Xarticle_refresh;
     }
     this.Parent.Controls.Add(xarticle);
     xarticle.Dock = DockStyle.Fill;
     xarticle.Show();
     xarticle.BringToFront();
     xarticle.Focus();
     xarticle.SetAction(BtnEvent.New, null);
     xarticle.SetFocus();
     xarticle.setname(pValue);
 }