Esempio n. 1
0
 private string GetStoreMethodString(StoreMethod storeMethod)
 {
     switch (storeMethod)
     {
     case StoreMethod.File:
         return("File");
     }
     return(null);
 }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 private void button2_Click(object sender, EventArgs e)
 {
     storeMethod = StoreMethod.StoreServer;
     this.Close();
 }
Esempio n. 4
0
 private void button1_Click(object sender, EventArgs e)
 {
     storeMethod = StoreMethod.StoreLocally;
     this.Close();
 }