public AddRemoteWindow(RemoteConfigGroup group, string name = null, string uri = null, string extra_headers = null)
        {
            InitializeComponent();
            DataContext = this;
            Group       = group;

            RemoteName.Value   = name ?? "";
            RemoteURI.Value    = uri ?? "";
            ExtraHeaders.Value = extra_headers ?? "";
        }
Ejemplo n.º 2
0
        public AddRemoteWindow(RemoteConfigGroup group, string name = null, string uri = null, bool padding = false)
        {
            InitializeComponent();
            DataContext = this;
            Group       = group;

            RemoteName.Value    = name ?? "";
            RemoteURI.Value     = uri ?? "";
            EnablePadding.Value = padding;
        }