public AccountPage(FilterDefinition <BsonDocument> query_pin) { this.query_pin = query_pin; Doc = DBClass.BankAccounts.Find(query_pin).FirstOrDefault(); InitializeComponent(); label2.Text = Doc.GetValue("Balance").ToString(); Money_Withdraw_Panel.Hide(); }
private void Other_Click(object sender, EventArgs e) { Money_Withdraw_Panel.Show(); }