public static bool EditStorageAccount(string sAccountName, Settings.SettingsElt[] rgsteeAccount) { AzAddAccount azaa = new AzAddAccount(rgsteeAccount); azaa.LoadSettings(sAccountName); azaa.ShowDialog(); return true; }
public static bool EditStorageAccount(string sAccountName, Settings.SettingsElt[] rgsteeAccount) { AzAddAccount azaa = new AzAddAccount(rgsteeAccount, "Software\\Thetasoft\\AzLog"); azaa.LoadSettings(sAccountName); azaa.ShowDialog(); return(true); }
/* D O A D D E D I T A C C O U N T */ /*---------------------------------------------------------------------------- * %%Function: DoAddEditAccount * %%Qualified: AzLog.AzAddDatasource_Azure.DoAddEditAccount * %%Contact: rlittle * * ----------------------------------------------------------------------------*/ private void DoAddEditAccount(object sender, EventArgs e) { if (m_cbAccounts.SelectedIndex == -1) { AzAddAccount.AddStorageAccount(AzLogAzureTable.AccountSettingsDef()); m_cbAccounts.Items.Clear(); PopulateAccounts(); } else { AzAddAccount.EditStorageAccount((string)m_cbAccounts.SelectedItem, AzLogAzureTable.AccountSettingsDef()); } }
/* A D D S T O R A G E A C C O U N T */ /*---------------------------------------------------------------------------- %%Function: AddStorageAccount %%Qualified: AzLog.AzAddAccount.AddStorageAccount %%Contact: rlittle ----------------------------------------------------------------------------*/ public static bool AddStorageAccount(Settings.SettingsElt[] rgsteeAccount) { AzAddAccount azaa = new AzAddAccount(rgsteeAccount); return azaa.ShowDialog() == System.Windows.Forms.DialogResult.OK; }
/* A D D S T O R A G E A C C O U N T */ /*---------------------------------------------------------------------------- * %%Function: AddStorageAccount * %%Qualified: AzLog.AzAddAccount.AddStorageAccount * %%Contact: rlittle * * ----------------------------------------------------------------------------*/ public static bool AddStorageAccount(Settings.SettingsElt[] rgsteeAccount) { AzAddAccount azaa = new AzAddAccount(rgsteeAccount, "Software\\Thetasoft\\AzLog"); return(azaa.ShowDialog() == System.Windows.Forms.DialogResult.OK); }