예제 #1
0
 private void BuildForm()
 {
     if (fservers == null)
     {
         fservers = new FServers();
     }
     fservers.FServers_NeedToRefresh += VServers_NeedToRefresh;
     Parent.Controls.Add(fservers);
     fservers.Dock = DockStyle.Fill;
     fservers.Show();
     fservers.BringToFront();
 }
예제 #2
0
        void txt_servers_NewEntryNeeded(object sender, string pValue)
        {
            if (fsservers == null)
            {
                fsservers = new FServers();
            }
            Parent.Controls.Add(fsservers);
            fsservers.Dock = DockStyle.Fill;
            fsservers.Show();
            fsservers.BringToFront();
            fsservers.Focus();

            fsservers.SetAction(BtnEvent.New, null);
            fsservers.SetFocus();
        }