private void btnAddRemoteHost_Click(object sender, EventArgs e) { var hostForm = new RemoteForm { StyleManager = metroStyleManager }; if (hostForm.ShowDialog() == DialogResult.OK) { LoadHostConfig(); } }
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(); } }
private void btnAddRemoteHost_Click(object sender, EventArgs e) { var hostForm = new RemoteForm { StyleManager = metroStyleManager }; if (hostForm.ShowDialog() == DialogResult.OK) LoadHostConfig(); }
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(); }