public string Draw() { form.formMT.RoutingTable = routingTable; if (routing != null) { form.formMT.comboBoxRouting.SelectedValue = routing; } return(ProviderState.Draw(form, providerState)); }
public static string Draw(IntentoTranslationProviderOptionsForm form, SmartRoutingState state) { if (state == null) { form.formMT.RoutingTable = new Dictionary <string, string>(defaultRoutingTable); form.formMT.comboBoxRouting.SelectedIndex = 0; ProviderState.Draw(form, null); return(null); } return(state.Draw()); }
public static string Draw(IntentoTranslationProviderOptionsForm form, ProviderState state) { if (state == null) { form.formMT.groupBoxProvider.Enabled = false; Providers_ComboBox_BackColor_State(form.formMT, false); AuthState.Draw(form, null); return(null); } return(state.Draw()); }