void EncodingChanged(object s, EventArgs args) { if (encodingMenu.History == selectOption) { using (var dlg = new SelectEncodingsDialog()) MessageService.ShowCustomDialog(dlg, this); FillEncodings(); } }
void EncodingChanged (object s, EventArgs args) { if (encodingMenu.History == selectOption) { var dlg = new SelectEncodingsDialog (); MessageService.ShowCustomDialog (dlg, this); FillEncodings (); } }