Exemple #1
0
 }                                               // 一つ前のクリップボード履歴を格納
 public Form1()
 {
     InitializeComponent();
     History = Serializer.DeSerialize();
     if (History == null)
     {
         History = new List <HistoryItem>();
     }
     SetListbox();
     cpviewer = new ClipboardViewer.MyClipboardViewer(this);
     cpviewer.ClipboardHandler += Cpviewer_ClipboardHandler;
 }
Exemple #2
0
        public vtwas()
        {
            InitializeComponent();
            CharCodeComboBox.SelectedIndex = 0;

            LoadSetting();

            this.Name = vtwasay.AppName + "/" + vtwasay.Version;
            this.Text = this.Name;
            dataGridView.Rows.Add("", "");
            ClipEventCheckBox.Enabled = ClipboardEnableCheckBox.Checked;
            RegCheckBox.Enabled       = ClipboardEnableCheckBox.Checked;
            RegTextBoxEx.Enabled      = ClipboardEnableCheckBox.Checked;

            // クリップボード監視イベント
            clipViewer = new ClipboardViewer.MyClipboardViewer(this);
            clipViewer.ClipboardHandler += new ClipboardViewer.cbEventHandler(this.OnClipBoardChanged);
        }