예제 #1
0
        private void toolStripMenuItem3_Click(object sender, EventArgs e)
        {
            Form sForm = DirectEntryView.Instance();

            sForm.MdiParent = this;
            sForm.Show();
            sForm.Activate();
        }
예제 #2
0
 public DirectEntryAdd(DirectEntryView view)
 {
     viewForm = view;
     Code     = 0;
     InitializeComponent();
     this.Text = this.Text + " (Add)";
     BindDropDown();
 }
예제 #3
0
 public DirectEntryAdd(DirectEntryView view, int code)
 {
     viewForm = view;
     Code     = code;
     InitializeComponent();
     if (code > 0)
     {
         this.Text = this.Text + " (Edit)";
     }
     else
     {
         this.Text = this.Text + " (Add)";
     }
     BindDropDown();
 }