Beispiel #1
0
        private void listView_ItemActivate(object sender, EventArgs e)
        {
            WalletBalance wallet = listView.SelectedObject as WalletBalance;

            Form form = new Form()
            {
                Text          = "Wallet Editor",
                StartPosition = FormStartPosition.CenterScreen,
                Font          = ParentForm.Font
            };

            WalletEditorControl control = new WalletEditorControl()
            {
                Dock = DockStyle.Fill
            };

            form.Controls.Add(control);
            control.UpdateData(wallet);
            PreferenceManager.SetControlTheme(control, PreferenceManager.preferences.Theme, form);
            form.Show();
        }