예제 #1
0
        private void BDodajOperatora_Click(object sender, EventArgs e)
        {
            NowyKlient nope = NowyKlient.pobierzInstancjeOkna();

            nope.MdiParent = this.MdiParent;
            nope.Rodzic    = this;
            nope.Show();
            nope.BringToFront();
        }
예제 #2
0
        public static NowyKlient pobierzInstancjeOkna()
        {
            if (okienko == null || okienko.IsDisposed)
            {
                okienko = new NowyKlient();
            }

            return(okienko);
        }