예제 #1
0
        private void btnAddRemoteHost_Click(object sender, EventArgs e)
        {
            var hostForm = new RemoteForm {
                StyleManager = metroStyleManager
            };

            if (hostForm.ShowDialog() == DialogResult.OK)
            {
                LoadHostConfig();
            }
        }
예제 #2
0
        private void 编辑ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (_currSelectTitle == null)
            {
                return;
            }

            var host     = (RemoteHost)_currSelectTitle.Tag;
            var hostForm = new RemoteForm {
                StyleManager = metroStyleManager, RemoteHost = host
            };

            if (hostForm.ShowDialog() == DialogResult.OK)
            {
                LoadHostConfig();
            }
        }
예제 #3
0
 private void btnAddRemoteHost_Click(object sender, EventArgs e)
 {
     var hostForm = new RemoteForm { StyleManager = metroStyleManager };
     if (hostForm.ShowDialog() == DialogResult.OK)
         LoadHostConfig();
 }
예제 #4
0
        private void 编辑ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (_currSelectTitle == null) return;

            var host = (RemoteHost)_currSelectTitle.Tag;
            var hostForm = new RemoteForm { StyleManager = metroStyleManager, RemoteHost = host };

            if (hostForm.ShowDialog() == DialogResult.OK)
                LoadHostConfig();
        }