private void detailedErrorsButton_ItemClick(object sender, ItemClickEventArgs e) { using var form = new TextBoxForm(); var message = Logger.MakeTraceMessage(_exception); form.Initialize(message); form.ShowDialog(this); }
private void Rename(object sender, EventArgs e) { using (TextBoxForm form = new TextBoxForm("Enter custom name for connection:")) { form.UserText = this._node.Repository.DisplayName; if (form.ShowDialog(MainForm.Instance) != DialogResult.OK) { return; } this._node.Repository.DisplayName = form.UserText; } this.SaveAndUpdateNode(); }
private void detailedErrorsButton_ItemClick(object sender, ItemClickEventArgs e) { using (var form = new TextBoxForm()) { var message = Logger.MakeTraceMessage(_exception); form.Initialize(message); form.ShowDialog(this); } }