예제 #1
0
        public static DataRow showPopRePlaceADC(IWin32Window host, int adc_id, string adc_name, string adc_ip, string adc_serial)
        {
            PopupSelectADC sPopup = new PopupSelectADC();

            //
            sPopup.ShowIcon      = false;
            sPopup.ShowInTaskbar = false;
            sPopup.HelpButton    = false;
            sPopup.StartPosition = FormStartPosition.CenterScreen;

            //
            sPopup.adc_id     = adc_id;
            sPopup.adc_name   = adc_name;
            sPopup.adc_ip     = adc_ip;
            sPopup.adc_serial = adc_serial;

            DialogResult dl = sPopup.ShowDialog(host);
            //
            DataRow drReturn = sPopup.drADC;

            //
            sPopup.Dispose();
            //
            return(drReturn);
        }
예제 #2
0
        public static DataRow showPopRePlaceADC(IWin32Window host, int adc_id, string adc_name, string adc_ip, string adc_serial)
        {
            PopupSelectADC sPopup = new PopupSelectADC();
            //
            sPopup.ShowIcon = false;
            sPopup.ShowInTaskbar = false;
            sPopup.HelpButton = false;
            sPopup.StartPosition = FormStartPosition.CenterScreen;

            //
            sPopup.adc_id = adc_id;
            sPopup.adc_name = adc_name;
            sPopup.adc_ip = adc_ip;
            sPopup.adc_serial = adc_serial;

            DialogResult dl = sPopup.ShowDialog(host);
            //
            DataRow drReturn = sPopup.drADC;
            //
            sPopup.Dispose();
            //
            return drReturn;
        }