Exemple #1
0
 public CT_Pane AddNewPane()
 {
     this.paneField = new CT_Pane();
     return this.paneField;
 }
Exemple #2
0
 public void UnsetPane()
 {
     this.paneField = null;
 }
Exemple #3
0
 public static CT_Pane Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_Pane ctObj = new CT_Pane();
     ctObj.xSplit = XmlHelper.ReadDouble(node.Attributes["xSplit"]);
     ctObj.ySplit = XmlHelper.ReadDouble(node.Attributes["ySplit"]);
     ctObj.topLeftCell = XmlHelper.ReadString(node.Attributes["topLeftCell"]);
     if (node.Attributes["activePane"] != null)
         ctObj.activePane = (ST_Pane)Enum.Parse(typeof(ST_Pane), node.Attributes["activePane"].Value);
     if (node.Attributes["state"] != null)
         ctObj.state = (ST_PaneState)Enum.Parse(typeof(ST_PaneState), node.Attributes["state"].Value);
     return ctObj;
 }