상속: NekoKun.UI.LynnDockContent
예제 #1
0
 private void ApplyPadDefaultLocation(AbstractPad ci)
 {
     object[] attrs = ci.GetType().GetCustomAttributes(typeof(PadDefaultLocationAttribute), false);
     if (attrs.Length > 0)
     {
         PadDefaultLocationAttribute attr = attrs[0] as PadDefaultLocationAttribute;
         ApplyDockContentLocation(ci, attr.DockState);
     }
 }
예제 #2
0
 private void ApplyPadDefaultLocation(AbstractPad ci)
 {
     object[] attrs = ci.GetType().GetCustomAttributes(typeof(PadDefaultLocationAttribute), false);
     if (attrs.Length > 0)
     {
         PadDefaultLocationAttribute attr = attrs[0] as PadDefaultLocationAttribute;
         ApplyDockContentLocation(ci, attr.DockState);
     }
 }