Exemplo n.º 1
0
 public formInfo(AA2Card c)
 {
     InitializeComponent();
     card = c;
     formInfo_Load(null, null);
     updateInformation();
 }
Exemplo n.º 2
0
 private void replaceCardRosterFromCardToolStripButton_Click(object sender, EventArgs e)
 {
     if (cardpath != null && info.card != null)
         using (var file = new OpenFileDialog())
         {
             file.Filter = "PNG (*.png)|*.png";
             file.Multiselect = false;
             if (file.ShowDialog() == DialogResult.OK)
             {
                 var tempcard = new AA2Card(File.ReadAllBytes(file.FileName));
                 info.card.RosterImage = tempcard.RosterImage;
             }
         }
     UpdateWindowState();
 }
Exemplo n.º 3
0
 public formInfo(AA2Card c)
 {
     InitializeComponent();
     card = c;
     updateInformation();
 }