Beispiel #1
0
        void Txt_transport_NewEntryNeeded(object sender, string pValue)
        {
            if (fstransport == null)
            {
                fstransport = new FTransport();
                fstransport.FTransport_NeedToRefresh += Transport_ToRefresh;
            }
            Parent.Controls.Add(fstransport);
            fstransport.Dock = DockStyle.Fill;
            fstransport.Show();
            fstransport.BringToFront();
            fstransport.Focus();

            fstransport.SetAction(BtnEvent.New, null);
            fstransport.SetFocus();
            fstransport.setname(pValue);
        }
Beispiel #2
0
        void txt_transport_mode_NewEntryNeeded(object sender, string pValue)
        {
            if (xtransport_mode == null)
            {
                xtransport_mode = new FTransport();
                xtransport_mode.FTransport_NeedToRefresh += Transport_mode_NeedToRefresh;
            }
            this.Parent.Controls.Add(xtransport_mode);
            xtransport_mode.Dock = DockStyle.Fill;
            xtransport_mode.Show();
            xtransport_mode.BringToFront();
            xtransport_mode.Focus();

            xtransport_mode.SetAction(BtnEvent.New, null);
            xtransport_mode.SetFocus();
            xtransport_mode.setname(pValue);
        }