Esempio n. 1
0
 private void BuildForm()
 {
     if (facy == null)
     {
         facy = new FAcy();
     }
     facy.FAcy_NeedToRefresh += VAcy_NeedToRefresh;
     Parent.Controls.Add(facy);
     facy.Dock = DockStyle.Fill;
     facy.Show();
     facy.BringToFront();
 }
Esempio n. 2
0
        void txt_acy_NewEntryNeeded(object sender, string pValue)
        {
            if (fsacy == null)
            {
                fsacy = new FAcy();
            }
            Parent.Controls.Add(fsacy);
            fsacy.Dock = DockStyle.Fill;
            fsacy.Show();
            fsacy.BringToFront();
            fsacy.Focus();

            fsacy.SetAction(BtnEvent.New, null);
            fsacy.SetFocus();
        }
Esempio n. 3
0
        void Listgrid_RowAction(object sender, EventArgs e)
        {
            if (listgrid.SelectedRow == null)
            {
                return;
            }
            if (facy == null)
            {
                facy = new FAcy();
            }
            BuildForm();
            string pkValue = GetSelectedPkValue();

            if (pkValue != null)
            {
                facy.SetAction(BtnEvent.Open, pkValue);
            }
        }