Esempio n. 1
0
 private void DestroyNACEmbed(ref BufferedPanel P)
 {
     if (OMWC.NAC != null)
     {
         P.Controls.Remove(OMWC.NAC);
         OMWC.NAC.Dispose();
     }
 }
Esempio n. 2
0
        private void CreateNACEmbed(ref BufferedPanel P, Exception E)
        {
            DestroyNACEmbed(ref P);

            OMWC.NAC            = new NoAvailableControl(E);
            OMWC.NAC.Dock       = DockStyle.Fill;
            OMWC.NAC.AutoScroll = false;
            P.Controls.Add(OMWC.NAC);
        }