Example #1
0
 public void SetObjects(object @object)
 {
     if (@object is IMapGrid)
     {
         m_pMapGrid     = @object as IMapGrid;
         this.m_pBorder = m_pMapGrid.Border;
     }
 }
Example #2
0
 public void SetObjects(object object_0)
 {
     if (object_0 is IMapGrid)
     {
         m_pMapGrid            = object_0 as IMapGrid;
         this.imapGridBorder_0 = m_pMapGrid.Border;
     }
 }
Example #3
0
 private void cboBorderType_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (this.m_CanDo)
     {
         this.m_IsPageDirty = true;
         if (this.cboBorderType.SelectedIndex == 0)
         {
             this.m_pBorder = new SimpleMapGridBorderClass();
         }
         else if (this.cboBorderType.SelectedIndex == 1)
         {
             this.m_pBorder = new CalibratedMapGridBorderClass();
         }
         if (this.OnValueChange != null)
         {
             this.OnValueChange();
         }
     }
 }
Example #4
0
 private void cboBorderType_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (this.bool_0)
     {
         this.bool_1 = true;
         if (this.cboBorderType.SelectedIndex == 0)
         {
             this.imapGridBorder_0 = new SimpleMapGridBorderClass();
         }
         else if (this.cboBorderType.SelectedIndex == 1)
         {
             this.imapGridBorder_0 = new CalibratedMapGridBorderClass();
         }
         if (this.OnValueChange != null)
         {
             this.OnValueChange();
         }
     }
 }
Example #5
0
 public void SetObjects(object object_0)
 {
     this.MapTemplate      = object_0 as MapCartoTemplateLib.MapTemplate;
     this.imapGrid_0       = this.MapTemplate.MapGrid;
     this.imapGridBorder_0 = this.imapGrid_0.Border;
 }