Пример #1
0
 public DatumUC(ISpatialReference SpatialReference, enumControlType ControlType)
 {
     _spatialReference = SpatialReference;
     _controlType      = ControlType;
     InitializeComponent();
     Init();
 }
Пример #2
0
 public GeoCoordParamDisplayUI(ISpatialReference SpatialReference, enumControlType ControlType)
 {
     _spatialReference = SpatialReference;
     _controlType      = ControlType;
     InitializeComponent();
     Init();
 }
Пример #3
0
 public PrjCoordinateDefine(ISpatialReference SpatialReference, enumControlType ControlType)
 {
     _spatialReference = SpatialReference;
     _controlType      = ControlType;
     InitializeComponent();
     Init();
 }
Пример #4
0
 public PrimeMeridianUC(ISpatialReference SpatialReference, enumControlType ControlType)
 {
     _spatialReference = SpatialReference;
     _controlType      = ControlType;
     InitializeComponent();
     Init();
 }
Пример #5
0
 public ProjectionParamUI(ISpatialReference SpatialReference, enumControlType ControlType)
 {
     _spatialReference = SpatialReference;
     _controlType      = ControlType;
     InitializeComponent();
     Init();
 }
Пример #6
0
        //public webpageCombo(ChromeDriver webbrowser, string name, string alias, string controlId
        //    , enumControlType controlType) : this(webbrowser, name, alias, controlId, controlType)
        //{

        //}
        //public webpageCombo(ChromeDriver webbrowser, string name, string alias, string controlId
        //  , enumControlType controlType)
        //    : this(webbrowser, name, alias, controlId, controlType, null)
        //{

        //}
        /// <summary>
        ///
        /// </summary>
        /// <param name="webbrowser"></param>
        /// <param name="name"></param>
        /// <param name="alias"></param>
        /// <param name="controlId">controlId or xpath should be specified</param>
        /// <param name="xpath">controlId or xpath should be specified</param>
        /// <param name="controlAtt">text or value</param>
        /// <param name="controlType"></param>
        /// <param name="tableSource"></param>
        public webpageCombo(ChromeDriver webbrowser, webpage page, string name, string alias, By controlBy
                            , string controlAtt, enumControlType controlType
                            , Model.htmlTable tableSource)
            : base(webbrowser, page, name, alias, controlBy, controlAtt, controlType)
        {
            this.prp_tableSource = tableSource;
        }
Пример #7
0
 public GeoCoordinateDefine(IGeographicCoordSystem GeoCoordSystem, enumControlType ControlType)
 {
     _geographicCoordSystem = GeoCoordSystem;
     _controlType           = ControlType;
     InitializeComponent();
     Init();
 }
Пример #8
0
        //public webpageControl(ChromeDriver webbrowser, string name, string alias, string controlId
        //    , enumControlType controlType) : this(webbrowser, name, alias, controlId, controlType)
        //{

        //}
        /// <summary>
        ///
        /// </summary>
        /// <param name="webbrowser"></param>
        /// <param name="name"></param>
        /// <param name="alias"></param>
        /// <param name="controlId">controlId or xpath should be specified</param>
        /// <param name="xpath">controlId or xpath should be specified</param>
        /// <param name="controlAtt"></param>
        /// <param name="controlType"></param>
        public webpageControl(ChromeDriver webbrowser, webpage page, string name, string alias, By controlBy, string controlAtt, enumControlType controlType)
        {
            if (controlBy == null)
            {
                throw new Exception("controlBy is not specified");
            }
            this.prp_controlBy   = controlBy;
            this.prp_controlType = controlType;
            this.prp_name        = name;
            this.prp_alias       = alias;
            this.prp_controlAtt  = controlAtt;
            this.prp_webBrowser  = webbrowser;
            this.prp_webpage     = page;
        }
Пример #9
0
 public webpageGrid(ChromeDriver webbrowser, webpage page, string name, string alias, By controlBy
                    , enumControlType controlType, Model.htmlTable tableSource)
     : this(webbrowser, page, name, alias, controlBy, "", controlType, tableSource)
 {
     this.prp_tableSource = tableSource;
 }
Пример #10
0
 public webpageGrid(ChromeDriver webbrowser, webpage page, string name, string alias, By controlBy
                    , enumControlType controlType)
     : this(webbrowser, page, name, alias, controlBy, "", controlType, null)
 {
 }