示例#1
0
        private void Add_GUI()
        {
            uc_Explorer = new UC_Explorer();
            uc_Menu     = new UC_Menu(this);
            CheckBox cb1 = new CheckBox();

            cb1.Text = "All";
            pl_Actions.Controls.Add(cb1);

            CheckBox cb2 = new CheckBox();

            cb2.Text = "All Success";
            pl_Actions.Controls.Add(cb2);

            CheckBox cb3 = new CheckBox();

            cb3.Text = "UnSuccess";
            pl_Actions.Controls.Add(cb3);

            CheckBox cb4 = new CheckBox();

            cb4.Text = "Withdrawal";
            pl_Actions.Controls.Add(cb4);

            CheckBox cb5 = new CheckBox();

            cb5.Text = "Deposit";
            pl_Actions.Controls.Add(cb5);

            CheckBox cb6 = new CheckBox();

            cb6.Text = "Safe door";
            pl_Actions.Controls.Add(cb6);
        }
示例#2
0
        private void ClipboardChange(object sender, FileClipBoard clipBoard)
        {
            UC_Explorer uc = sender as UC_Explorer;

            if (uc.Name == this.ucSource.Name)
            {
                this.ucTarget.ClipBoard = clipBoard;
            }
            else
            {
                this.ucSource.ClipBoard = clipBoard;
            }
        }