private string GetStoreMethodString(StoreMethod storeMethod) { switch (storeMethod) { case StoreMethod.File: return("File"); } return(null); }
public void LoadXml(XmlElement elem) { this.marketType = ParseMarketType(elem.GetAttribute(ATTRIBUTE_MARKETTYPE)); this.id = elem.GetAttribute(ATTRIBUTE_ID); this.uri = elem.GetAttribute(ATTRIBUTE_URI); this.storeMethod = ParseStoreMethod(elem.GetAttribute(ATTRIBUTE_STOREMETHOD)); XmlElement elemStoreTypes = (XmlElement)elem.ChildNodes[0]; this.storeDataTypes.LoadXml(elemStoreTypes); }
private void button2_Click(object sender, EventArgs e) { storeMethod = StoreMethod.StoreServer; this.Close(); }
private void button1_Click(object sender, EventArgs e) { storeMethod = StoreMethod.StoreLocally; this.Close(); }