コード例 #1
0
 void CurrentDisplayBlock_SizeChanged(object sender, DisplayBlockSizeChangedHandlerArgs args)
 {
     CurrentLayoutBlock.SetRect(CurrentDisplayBlock.GetRect());
     LayoutBlockBindingSource.EndEdit();
     LayoutBlocksDataGridView.EndEdit();
     LayoutBlocksDataGridView.Refresh();
 }
コード例 #2
0
        public void OnSizeChanged(DisplayBlockSizeChangedHandlerArgs args)
        {
            var handler = SizeChanged;

            if (handler != null)
            {
                handler(this, args);
            }
        }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: dziedrius/osd-gs
 void CurrentDisplayBlock_SizeChanged(object sender, DisplayBlockSizeChangedHandlerArgs args)
 {
     CurrentLayoutBlock.SetRect(CurrentDisplayBlock.GetRect());
     LayoutBlockBindingSource.EndEdit();
     LayoutBlocksDataGridView.EndEdit();
     LayoutBlocksDataGridView.Refresh();
 }
コード例 #4
0
ファイル: DisplayBlock.cs プロジェクト: dziedrius/osd-gs
 public void OnSizeChanged(DisplayBlockSizeChangedHandlerArgs args)
 {
     var handler = SizeChanged;
     if (handler != null)
     {
         handler(this, args);
     }
 }