コード例 #1
0
        void LabelExtentsClick(object sender, EventArgs e)
        {
            if (_labelLayer != null)
            {
                _labelLayer.UseDynamicVisibility = true;
                _labelLayer.DynamicVisibilityWidth = MapFrame.Extents.Width;
                DynamicVisibilityModeDialog dvg = new DynamicVisibilityModeDialog();
                dvg.ShowDialog();
                _labelLayer.DynamicVisiblityMode = dvg.DynamicVisibilityMode;

            }
        }
コード例 #2
0
ファイル: Layer.cs プロジェクト: zhongshuiyuan/mapwindowsix
 void SetDynamicVisibility(object sender, EventArgs e)
 {
     UseDynamicVisibility = true;
     DynamicVisibilityWidth = MapFrame.Extents.Width;
     DynamicVisibilityModeDialog dvg = new DynamicVisibilityModeDialog();
     dvg.ShowDialog();
     DynamicVisiblityMode = dvg.DynamicVisibilityMode;
 }