예제 #1
0
 private void Rearrange()
 {
     if (!vm.ShowRGB && !vm.ShowAlpha && !vm.ShowAlphaOption && !vm.ShowHSV && !vm.ShowWebHexValue)
     {
         RHColor.Width = new GridLength(0, GridUnitType.Star);
         SelPanel.SetValue(Grid.RowProperty, 1);
         SelPanel.SetValue(Grid.ColumnProperty, 0);
     }
     else
     {
         RHColor.Width = new GridLength(1, GridUnitType.Star);
         SelPanel.SetValue(Grid.RowProperty, 0);
         SelPanel.SetValue(Grid.ColumnProperty, 1);
     }
 }
예제 #2
0
파일: SelPanel.cs 프로젝트: rab000/kbhook
 void OnDestroy()
 {
     Ins = null;
 }
예제 #3
0
파일: SelPanel.cs 프로젝트: rab000/kbhook
 void Awake()
 {
     Ins = this;
 }