public FtpFileSystemPanel(FtpFileSystemViewModel viewModel)
        {
            InitializeComponent();

            this.viewModel = viewModel;
            this.DataContext = viewModel;
        }
Esempio n. 2
0
        public FtpFileSystemPanel(FtpFileSystemViewModel viewModel)
        {
            InitializeComponent();

            this.viewModel   = viewModel;
            this.DataContext = viewModel;
        }
Esempio n. 3
0
        private void ucFtpFileSystem_Load(object sender, EventArgs e)
        {
            if (DesignMode)
            {
                return;
            }

            m_viewModel = new FtpFileSystemViewModel();
            GetFtpInfo();
        }