Exemplo n.º 1
0
        void Edit_Click(object sender, EventArgs args)
        {
            ConnectionEditFrm frm = new ConnectionEditFrm();

            frm.UpdateConn(this);
            if (frm.ShowDialog() == DialogResult.OK)
            {
            }
        }
Exemplo n.º 2
0
        void NewConnection_Click(object sender, EventArgs args)
        {
            ConnectionNode child = new ConnectionNode();

            child.Text=child.Name = Guid.NewGuid().ToString();
            child.DataInfo =  DBGlobalService.CurrentProject.CreateConnectionType();
            ConnectionEditFrm frm = new ConnectionEditFrm();
            frm.UpdateConn(child);
            if (frm.ShowDialog() == DialogResult.OK)
            {
                child.Text = child.Name;
                child.Parent = this;
                this.OnRefresh(sender, args);
            }
        }
Exemplo n.º 3
0
        void NewConnection_Click(object sender, EventArgs args)
        {
            ConnectionNode child = new ConnectionNode();

            child.Text     = child.Name = Guid.NewGuid().ToString();
            child.DataInfo = DBGlobalService.CurrentProject.CreateConnectionType();
            ConnectionEditFrm frm = new ConnectionEditFrm();

            frm.UpdateConn(child);
            if (frm.ShowDialog() == DialogResult.OK)
            {
                child.Text   = child.Name;
                child.Parent = this;
                this.OnRefresh(sender, args);
            }
        }
Exemplo n.º 4
0
        void Edit_Click(object sender, EventArgs args)
        {
            ConnectionEditFrm frm = new ConnectionEditFrm();
            frm.UpdateConn(this);
            if (frm.ShowDialog() == DialogResult.OK)
            {

            }
        }