Пример #1
0
 public MainWindow() : base(Gtk.WindowType.Toplevel)
 {
     Build();
     //
     // Color changes
     //
     ModifyBg(StateType.Normal, new Gdk.Color(38, 31, 31));
     label1.ModifyFg(StateType.Normal, new Gdk.Color(237, 227, 227));
     DatabaseEntry.ModifyBase(StateType.Normal, new Gdk.Color(89, 82, 82));
     DatabaseEntry.ModifyText(StateType.Normal, new Gdk.Color(237, 227, 227));
     label2.ModifyFg(StateType.Normal, new Gdk.Color(237, 227, 227));
     UserNameEntry.ModifyBase(StateType.Normal, new Gdk.Color(89, 82, 82));
     UserNameEntry.ModifyText(StateType.Normal, new Gdk.Color(237, 227, 227));
     label3.ModifyFg(StateType.Normal, new Gdk.Color(237, 227, 227));
     PasswordEntry.ModifyBase(StateType.Normal, new Gdk.Color(89, 82, 82));
     PasswordEntry.ModifyText(StateType.Normal, new Gdk.Color(237, 227, 227));
     label4.ModifyFg(StateType.Normal, new Gdk.Color(237, 227, 227));
     combobox1.ModifyBase(StateType.Normal, new Gdk.Color(89, 82, 82));
     label5.ModifyFg(StateType.Normal, new Gdk.Color(237, 227, 227));
     SearchEntry.ModifyBase(StateType.Normal, new Gdk.Color(155, 149, 149));
 }