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 ?? "";
        }
Пример #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;
        }