Ejemplo n.º 1
0
 private void Graph_SizeChanged(object sender, EventArgs e)
 {
     if (BaseGraph != null)
     {
         BaseGraph.SetNewSize(this.Width, this.Height);
     }
 }
Ejemplo n.º 2
0
 public void Init(BrightnessGraph BaseGraph)
 {
     this.BaseGraph = BaseGraph;
     this.BaseGraph.RefreshGraph = Refresh;
     this.BaseGraph.Init();
     BaseGraph.SetNewSize((int)Frame.Width, (int)Frame.Height);
 }
Ejemplo n.º 3
0
 protected void OnGraphEventBoxSizeAllocated(object o, SizeAllocatedArgs args)
 {
     if (BaseGraph != null)
     {
         BaseGraph.SetNewSize(this.Allocation.Width, this.Allocation.Height);
     }
 }
Ejemplo n.º 4
0
 public override void SetFrameSize(SizeF newSize)
 {
     base.SetFrameSize(newSize);
     BaseGraph.SetNewSize((int)newSize.Width, (int)newSize.Height);
 }