private void metroTextButton2_Click(object sender, EventArgs e) { if (metroTextBox1.Text == null || metroTextBox1.Text == "") { DesktopAlert.Show("No Item hass been inputed!"); } else { uploadTOmaterialTemp(); DesktopAlert.Show("Raw materials has been added!"); metroTextBox1.Text = ""; slidePanel1.IsOpen = false; materialIn matIn = new materialIn(); matIn.ShowDialog(); } }
private void metroTileItem38_Click(object sender, EventArgs e) { materialIn mI = new materialIn(); mI.ShowDialog(); }