예제 #1
0
        private void button16_Click_1(object sender, EventArgs e)
        {
            panel8.Visible = false;
            panel7.Visible = false;
            panel6.Visible = false;
            button19.Font  = new Font("Palatino Linotype", button19.Font.Size, FontStyle.Bold, GraphicsUnit.Point);
            button18.Font  = new Font("Palatino Linotype", button19.Font.Size, FontStyle.Bold, GraphicsUnit.Point);
            panel4.Controls.Clear();
            Addcus p1 = new Addcus();

            p1.Owner    = this;
            p1.TopLevel = false;
            panel4.Controls.Add(p1);
            p1.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            p1.Dock            = DockStyle.Fill;
            p1.Show();
        }
예제 #2
0
 private void timer4_Tick(object sender, EventArgs e)
 {
     if (modes == 1)
     {
         modes = 0;
         panel4.Controls.Clear();
         Addcus p1 = new Addcus();
         p1.Owner    = this;
         p1.TopLevel = false;
         panel4.Controls.Add(p1);
         p1.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
         p1.Dock            = DockStyle.Fill;
         p1.Show();
         timer4.Stop();
     }
     else if (modes == 2)
     {
         modes = 0;
         CreditInvistigator.process = 1;
         panel4.Controls.Clear();
         CreditInvistigator p1 = new CreditInvistigator();
         p1.Owner    = this;
         p1.TopLevel = false;
         panel4.Controls.Add(p1);
         p1.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
         p1.Dock            = DockStyle.Fill;
         p1.Show();
         timer4.Stop();
     }
     else if (modes == 3)
     {
         modes = 0;
         panel4.Controls.Clear();
         AddComaker p1 = new AddComaker();
         p1.Owner    = this;
         p1.TopLevel = false;
         panel4.Controls.Add(p1);
         p1.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
         p1.Dock            = DockStyle.Fill;
         p1.Show();
         timer4.Stop();
     }
 }