コード例 #1
0
 private void simpleLabelItem1_MouseDown(object sender, MouseEventArgs e)
 {
     if (tileControlLayoutItem.Visibility == LayoutVisibility.Always)
     {
         ItemsHideHelper.Hide(hideItemCollection, buttonHide);
         return;
     }
     if (tileControlLayoutItem.Visibility == LayoutVisibility.Never)
     {
         ItemsHideHelper.Expand(hideItemCollection, buttonHide);
     }
 }
コード例 #2
0
ファイル: Congé.cs プロジェクト: Arsslensoft/FleshHRMS
 private void collapseButton_Click(object sender, EventArgs e)
 {
     if (tileControlLCI.Visibility == LayoutVisibility.Always)
     {
         ItemsHideHelper.Hide(new object[] { tileControlLCI }, buttonHide);
         return;
     }
     if (tileControlLCI.Visibility == LayoutVisibility.Never)
     {
         ItemsHideHelper.Expand(new object[] { tileControlLCI }, buttonHide);
     }
 }
コード例 #3
0
        void hideButton_Click(object sender, EventArgs e)
        {
            if (tileControlLCI.Visibility == XtraLayout.Utils.LayoutVisibility.Always)
            {
                ItemsHideHelper.Hide(hideItemCollection, hideButton);
                productsSLI.Padding = new XtraLayout.Utils.Padding(25, 2, 10, 10);

                return;
            }
            if (tileControlLCI.Visibility == XtraLayout.Utils.LayoutVisibility.Never)
            {
                ItemsHideHelper.Expand(hideItemCollection, hideButton);
                productsSLI.Padding = new XtraLayout.Utils.Padding(2, 2, 10, 10);
                return;
            }
        }