예제 #1
0
 private void BuildForm()
 {
     if (fpincode == null)
     {
         fpincode = new FPincode();
     }
     fpincode.FPincode_NeedToRefresh += VPincode_NeedToRefresh;
     Parent.Controls.Add(fpincode);
     fpincode.Dock = DockStyle.Fill;
     fpincode.Show();
     fpincode.BringToFront();
 }
예제 #2
0
        void txt_pincode_NewEntryNeeded(object sender, string pValue)
        {
            if (fspincode == null)
            {
                fspincode = new FPincode();
            }
            Parent.Controls.Add(fspincode);
            fspincode.Dock = DockStyle.Fill;
            fspincode.Show();
            fspincode.BringToFront();
            fspincode.Focus();

            fspincode.SetAction(BtnEvent.New, null);
            fspincode.SetFocus();
        }
예제 #3
0
        void txt_pincode_NewEntryNeeded(object sender, string pValue)
        {
            if (xpincode == null)
            {
                xpincode = new FPincode();
                xpincode.FPincode_NeedToRefresh += Pincode_NeedToRefresh;
            }
            this.Parent.Controls.Add(xpincode);
            xpincode.Dock = DockStyle.Fill;
            xpincode.Show();
            xpincode.BringToFront();
            xpincode.Focus();

            xpincode.SetAction(BtnEvent.New, null);
            xpincode.SetFocus();
            xpincode.setname(pValue);
        }
예제 #4
0
        void Listgrid_RowAction(object sender, EventArgs e)
        {
            if (listgrid.SelectedRow == null)
            {
                return;
            }
            if (fpincode == null)
            {
                fpincode = new FPincode();
            }
            BuildForm();
            string pkValue = GetSelectedPkValue();

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