//private void NotifyIconConfigure_Click(object sender, RoutedEventArgs e) //{ // // Show this window // this.Show(); // this.Activate(); //} //private void NotifyIconExit_Click(object sender, RoutedEventArgs e) //{ // // Close this window. // this.reallyCloseWindow = true; // this.taskbarNotifier.Close(); // Environment.Exit(0); //} private void about_Click(object sender, RoutedEventArgs e) { //this.taskbarNotifier.NotifyContent.Clear(); //List<department> dl = new List<department>() { new department(){departmentName="nibu",comment="ssss"}}; //// Add the new title and message to the TaskbarNotifier's content. //this.taskbarNotifier.NotifyContent.Add(new NotifyObject(dl)); // Clear the textboxes. // this.ClearTextBoxes(); // Tell the TaskbarNotifier to open. // this.taskbarNotifier.Notify(); AboutSoft a = new AboutSoft(); a.Owner = this; a.ShowDialog(); }
private void openAboutSoftForm() { AboutSoft ast = new AboutSoft(); ast.Show(); }